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?
In setting up our WebExplorerBar programmatically, a PlaceHolder is not required. You may directly add an ExplorerBarItem to an ExplorerBarGroup using the following code:
ExplorerBarGroup group = new ExplorerBarGroup(); group.Text = "Folders"; this.WebExplorerBar1.Groups.Add(group);
ExplorerBarItem item = new ExplorerBarItem(); item.Text = "Documents"; group.Items.Add(item);
item = new ExplorerBarItem(); item.Text = "Samples"; group.Items.Add(item);
For more details please refer to the sample attached.
With regards to the inaccessibility error due to protection level error you are having, I suggest creating a new aspx page within the solution/project you are working on. For additional details please refer to the following forum thread:
http://forums.asp.net/p/1548091/3788635.aspx
I hope this helps.
If you have any questions, please let me know as well.
Obviously i selected post before as answer.
But, wondering how can i add a attribute to item. As eaarlier i was using linkbutton. check my code below you will get clearer picture.
For Each rw As DataRow In dtSet.Tables("dtset").Rows
Dim lbAt As New LinkButton
lbAt.Attributes.Add(
"onmouseover", "Tip('" & myDiaryText & "', SHADOW, true, WIDTH, 600, BGCOLOR, '#FFE347', DELAY, 100, FONTWEIGHT, 'bold',TITLE, '" & reqNm & "', TITLEFONTSIZE, '12px', TITLEBGCOLOR ,'#C6AF37')")
"onmouseout", "UnTip()")
lbAt.PostBackUrl =
"~/Pages/Main.aspx?SecureEnc=" & "2" & "&eTicketID=" & dtSet.Tables("dtset").Rows(r).Item("TicketNo") & ""
'Dim plHolder As New PlaceHolder
'plHolder = TryCast(FindControl("PlaceHolder2"), PlaceHolder)
'PlaceHolder2.Controls.Add(New LiteralControl(" <img src='../eImages/Active.gif' alt='Active' /> "))
'PlaceHolder2.Controls.Add(lbAt)
'PlaceHolder2.Controls.Add(New LiteralControl("<br>"))
Now I Have commented the above code and using the code below. its adding group and items. but, how can i add the popup screen and hyperlink?
Dim item2 As New ExplorerBarItem()
item2.Text = dtSet.Tables(
"dtSet").Rows(r).Item("TicketNo") & " " & Format(dtSet.Tables("dt").Rows(r).Item("DateRaised"), "dd-MMM-yyyy HH:mm:ss") & ""
group2.Items.Add(item2)
To set a hyperlink, you can use the NavigateUrl property on the ExplorerBarItem.
In HTML:
<ig:ExplorerBarItem Text="Google" Value="Google" NavigateUrl="http://www.google.com" Target="_blank" />
<ig:ExplorerBarItem Text="Infragistics" Value="Infragistics" NavigateUrl="http://es.infragistics.com" Target="_blank" />
For the VB code on setting these properties, please reference this topic.
The Target property specifies where the link should open. I set it to "_blank" which will use a new tab in the browser.
Alternatively, you can create a dialog window and handle the ItemClick event to populate and show the dialog window.
I am asking Developer Support to follow up with you so we can help you implement your scenario.
Hi,
My question was how can i add onMouse Hover javascript? if you look at my code in above post you will know?
Please let me know if you have any questions.