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
1810
WebDataTree + DataTreeNode.ImageURL Set + WebTab = ViewState corrupted
posted

Hi,

 

If put a WebDataTree inside a WebTab, add/edit/delete nodes (some of them with an image) during postbacks, I will sometimes get the "Infragistics.Web.UI.NavigationControls.DataTreeNodeCollection ViewState is corrupted. " error message.

 

As it is a bit odd I will attach the *.aspx and *.aspx.cs files so you can reproduce the issue with the following steps:

1 - Click "Add new node"

2 - Expand nodes and select the one with level 2 (text = subnode)

3 - Click "Change Selected Node Text"

4 - Click "Add New Node"

5 - Select the last Added Node (the second one, under the root, level = 1)

6 - Click "Delete Selected Node"

7 - You should get an error message like this:  "Infragistics.Web.UI.NavigationControls.DataTreeNodeCollection ViewState is corrupted. "

 

Some workarounds I've found which are not an option for us right now but may help you to figure out the problem:

 - Out of the WebTab it works fine

- With no Images it works fine

 

Also Attached:

 - the exact *.bmp file used in the page

- The whole error message with stacktrace

 

So, any suggestions?

 

Thank you in advance.

 

WEBTREEandWEBTAB.zip