hi iam currently use v10 vol 2 and ie8 . i call from the webdatamenu a webform. i set a breakpoint in the loadevent. the page loads twice if i call it from the webdatamenu.when i place a normal link button on the calling page the aspx page will call once.the calling page is based on a masterpage where i placed the webdatamenu.it has 5 parent and aprox. 5 subchilds.my item is build up as follows
<ig:DataMenuItem Text="test1" Key="test1"> <Template> <asp:HyperLink CssClass="igdm_RedPlanetMenuItemVertical" ID="test1" runat="server" NavigateUrl="~/test1.aspx">test1</asp:HyperLink> </Template> </ig:DataMenuItem>i have looked in the calling page and there are no other postbacks. only if i call it from the webdatamenu it is called twice. i have no idea why.
Hi Martin,
I think the problem is the following, the menu has by default AutoPostbackFlag for ItemClick event = On, which means that the menu will do a postback on each item click. Since you have a hyperlink in the template the link triggers a navigate and after that the ItemClick event will also trigger a navigate. Try setting <AutoPostbackFlags ItemClick="Off" /> this way you will do the navigation through the hyperlink defined in the template item.
Hope this helps.
Thanks,
Lubomir
Hi Lubomir, thanks for your reply , but i have already set the property.
<ig:webdatamenu ID="WebDataMenu1" runat="server" StyleSetName="RedPlanet"
GroupSettings-AnimationDuration="0" Width="100%" AutoPostBackFlags-ItemClick="Off" >