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