Once EnableViewState of WebDataMenu set to "true", any postback inside Content of Master's ContentPlaceHolder will raise error : LoadViewState_Exception.
However, I found that this error can prevent by set the EnableViewState to 'false', but any posback inside Content of Master's ContentPlaceHolder will make previously binding Items of WebDataMenu disappear.
I no sure whether this is bugs or not, but I need Item of my WebDataMenu keeping there after any postback and without error of "LoadViewState_Exception". Thank for help !!!
The Attachment file is the Sample Project,
using VS2008 to open, right click the "WebForm1.aspx" -> 'Set As Start Page' -> F5 Start Debuging
<ig:WebDataMenu ID="WebDataMenu1" runat="server" Height="29px" Width="100%" Font-Size="12px" ForeColor="#4863A0" BorderStyle="None" BorderWidth="0px" EnableViewState="true" >
<GroupSettings Orientation="Horizontal" EnableAnimation="false" />
<Items>
<ig:DataMenuItem Text="No Item" NavigateUrl="">
</Items>
</ig:DataMenuItem>
</ig:WebDataMenu>
Hi there,
can you tell which version of WebDataMenu control are you using? I've seen such a bug in the past and the problem was that the menu items were generated dynamically in the code behind and then added to the control. If you have the same issue you have to upgrade to latest service release. If not please contact developer support to help you resolve the issue.
I tried this code in a master page and works just fine.
Hope this helps.
Thanks,
Lubomir
ASP.NET Team Lead
Hi, I am using Infragistic for ASP.Net 2009 - 9.2.20092.2137.