Folks,
I recently migrated my project to version 11.2 .net 4.0. and i have UltraWebListbar control in my old project.
Which, should update after using version utility but its still showing me following error. and also i cannot find ultrawebslistbar control in control toolkit?
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30652: Reference required to assembly 'Infragistics4.WebUI.Shared.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' containing the type 'Infragistics.WebUI.Shared.Style'. Add one to your project.Source Error:
Line 121: <asp:UpdatePanel ID="UpdatePanel8" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false"> Line 122: <ContentTemplate> Line 123: <iglbar:UltraWebListbar ID="UltraWebListbar1" runat="server" BarWidth="100%" BorderWidth="" Line 124: CssClass="igwlbExplorerBarMainBlue2k7" GroupSpacing="0px" ImageDirectory="eImages/" Line 125: ViewType="ExplorerBar" Height="100%" Width="197px">
Hello Infra_Jag,
The UltraWebListBar was removed from the control set in 11.2. We recently updated the Version Utility to alert the user about any controls that cannot be upgraded because they were removed.
For more information about the product changes in 11.2, please read this blog post.
This control still exists in 11.1, so you could "downgrade" to that version.
It is recommended that you switch out the UltraWebListBar for WebExplorerBar. That is a more long-term solution.
Elizabeth AlbertLocalization Engineer
I noticed in webexplorerbar there is not key attribute.
i was using
UltraWebListbar1.Groups.FromKey(
"ActiveTicket").Text
earlier.
what i am suppose to use now ?
any ideas?
You can use the Value property as the key. Text is what is displayed to the user, and Value is used internally as the key. To get a Group based on the key, you can use FromValue.
<ig:WebExplorerBar ID="WebExplorerBar1" runat="server" Width="250px" GroupExpandBehavior="SingleExpanded"> <Groups> <ig:ExplorerBarGroup Text="Group 1" Value="Group1"> <Items> <ig:ExplorerBarItem Text="Item 1" Value="Item1" /> </Items> </ig:ExplorerBarGroup> <ig:ExplorerBarGroup Text="Group 2" Value="Group2" /> <ig:ExplorerBarGroup Text="Group 3" Value="Group3" /> </Groups> </ig:WebExplorerBar>
ExplorerBarGroup findGroup1 = (ExplorerBarGroup)WebExplorerBar1.Groups.FromValue("Group1"); MessageBox.Show("Found group " + findGroup1.Text);
Let me know if you have further questions.
On ExploresBar i am getting the following error check the picture
Dont know what i am missing?
Here's the code in VB.NET:
Imports Infragistics.Web.UI.NavigationControls Imports System.Windows.Forms
Dim findGroup1 As ExplorerBarGroup = CType(WebExplorerBar1.Groups.FromValue("Group1"), ExplorerBarGroup) MessageBox.Show("Found group " + findGroup1.Text)
Thanks for the update.
I am using this control in web application. so, why i have to import system.windows.forms?
when i tried the code above i am getting following error. my code is in the Ajax UpdatePanel.
findGroup1 'findGroup1' is not declared. It may be inaccessible due to its protection level.
System.Windows.Forms is the namespace for the MessageBox. You don't need to import this namespace if you don't use the MessageBox.
I tried to put the WebExplorerBar code I already had inside an Ajax UpdatePanel, but it did not recognize the Infragistics controls (or the Button control) in there.
If you remove the UpdatePanel, does it work? I have attached my project that does not use the UpdatePanel. (I had to remove the ig_res folder so it would upload. If you view it in design mode, it should prompt you to add this folder.)
If you need to use the UpdatePanel, I can forward your post to Developer Support. They will be able to assist you in getting your project to work.
Please let me know if you have any questions.
Our WebExplorerBar's ItemHovered clientside event may be an alternative to the OnMouseHover function. The ItemHovered event may be handled using the JavaScript code in the OnMouseHover function with or without a few alterations. If you wish, you may attach the function code. This way I may be able to provide a more definitive alternative.
The WebExplorerBarItem's ToolTip property may also provide tooltip function as the mouse hovers over the item.
I hope this helps.
If you have any questions, please let me know as well.
Thank for update..
I guess this is the scond Developer case on my request's in 1 month.
A Developer Support case has been opened for you. They will contact you to help resolve the issue.
Hi,
My question was how can i add onMouse Hover javascript? if you look at my code in above post you will know?