Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
WebDataMenu don't work in an update panel
posted

Hello
I have a WebDataMenu in a UpadePanel like that
 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
 <ig:WebDataMenu runat="server" ID="ContextMenu" IsContextMenu="true" StyleSetName="Appletini" BorderWidth="1" BorderColor="#CCCCCC">
<Items><ig:DataMenuItem Text="Nouveau" Key="Nouveau"/></Items>
</ig:WebDataMenu>
<asp:Button ID="Button1" runat="server" Text="Button" />
</ContentTemplate></asp:UpdatePanel>

when I request the UpdatePanel I have the javascript error Microsoft BLOCKED SCRIPT Sys.InvalidOperationException: Two components with the same id 'ContextMenu' can't be added to the application.
when i put the WebDataMenu  out of the UpdatePanel it's work well
Is there an issue?

Thanks

Parents
  • 3726
    posted

    Hi,

    it seems like a bug, I'll file an internal bug to track this issue. As a workaround set IsContextMenu to false. You can also contact developer support and file an official bug, which will be resolved quicker.

    Hope this helps.

Reply Children
No Data