I have certain pieces of code that require a Postback, when the ItemClick Event Fires from the Control, it Causes a Postback but never gets into the Code below.
--- Sample of Menu ---
<
ig:WebDataMenu ID="WebDataMenu1" runat="server" OnItemClick="WebDataMenu1_ItemClick" Width="100%" StyleSetName="Nautilus"
SubMenuClosingDelay="10">
<GroupSettings AnimationType="ExpandAnimation" Orientation="Horizontal" />
<ClientEvents itemclick="iclick" /><Items><ig:DataMenuItem Text="Add Items"
-- End of menu Sample
-- Code Call for Postback
Protected Sub WebDataMenu1_ItemClick(ByVal sender As Object, ByVal e As Infragistics.Web.UI.NavigationControls.DataMenuItemEventArgs) Handles
WebDataMenu1.ItemClick
If e.Item.Key = "Cancel Assignment" Then
CancelAssign()
End If
End Sub
Hello,
I've put together a sample and tested it based on the code you provided. In the sample I put together the event fires as expected.Please test this sample and see if it works on your end. If it works as expected compare the sample against your application to see what is different.
If the sample doesn't work as expected please provide me more details about your environment so I can test again.
Thanks,ValerieDeveloper Support Engineer
Hi,
Please let me know if you were able to resolve this issue. Otherwise, provide me with a sample so I can be of further assistance.
Thanks,
Valerie