Hi,
I'm using webmenu in my master page, when i click the menu the item-click event doesn't fired. please help me to fix this probe.
Thanks in advance...
Hi MageshKumar,
Thank you for posting in the community.
I have tested your scenario using a 11.1.20111.2064 UltraWebMenu and the item-click is fired correctly on the master page. Can you provide some information regarding your product version so I can examine the matter further?
Please note that the UltraWebMenu control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataMenu. You can explore the features of this control through our samples collection at:
http://samples.infragistics.com/aspnet/ComponentOverview.aspx?cn=data-menu
Please let me know if you need more assistance.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
hi Petar Ivanov,
Thanks for your quick reply ,i was using ultrawebmenu v6.2. here the snippet of my code
If Menu1.Items(0) Is Nothing Then
Dim newItem As New Item
Dim newItem1 As New Item
Dim newItem2 As New Item
Dim newItem3 As New Item
Dim newItem4 As New Item
Dim newItem5 As New Item
Dim newItem6 As New Item
Dim newItem7 As New Item
Dim newItem8 As New Item
Dim newItem9 As New Item
If Session("Status") = "Safety" Then
newItem = Me.Menu1.Items.Add("Occurrence Entry")
newItem.TargetUrl = "Instance_entry.aspx"
newItem1 = Me.Menu1.Items.Add("Safety Home")
newItem1.TargetUrl = "Safety_dept.aspx"
newItem2 = Me.Menu1.Items.Add("Closure")
newItem2.TargetUrl = "Action_plan_closure.aspx"
newItem3 = Me.Menu1.Items.Add("Master Entry")
newItem3.TargetUrl = "Master.aspx"
newItem4 = Me.Menu1.Items.Add("User Rights")
newItem4.TargetUrl = "UserRigts.aspx"
newItem5 = Me.Menu1.Items.Add("Logout")
newItem5.TargetUrl = "../login/loginpage.aspx"
end if
and here the click event
Protected Sub Menu1_MenuItemClicked(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebNavigator.WebMenuItemEventArgs) Handles Menu1.MenuItemClicked
If e.Item.Text = "Logout" Then
Session.Clear()
End If
End Sub
i try to use web data menu before that i wanna to know why this click event doesn't fired. please help me to clear this!!!!!!!!
Thank you for your reply.
Please note that version 6.2 is severely outdated. The closest version I was able to test the scenario with is 7.1 and the click event is fired as expected. I can see that you are adding items from the code-behind, however that does not seem to affect events' firing. I would strongly suggest that you upgrade your product version.
Please let me know if you need more information.