M
mortb
I'm writing a custom treeview control.
The treeview is a htmltable with the nodes and branches,
The htmltable is located in a div to make it scrollable when it is larger
than a certain pixel size.
All this is nested in my custom control.
My problem is that the viewstate becomes really large when I add the control
to a test page which does not have any other controls on it.
I've tried to disable the viewstate both on the page, the control and the
htmltable, but nothing seems to work!
The 30kb viewstate is still there.
I have no need to store the contents of the treeview in the viewstate as
this is updated from the database every pageload.
Please help!
mortb
The treeview is a htmltable with the nodes and branches,
The htmltable is located in a div to make it scrollable when it is larger
than a certain pixel size.
All this is nested in my custom control.
My problem is that the viewstate becomes really large when I add the control
to a test page which does not have any other controls on it.
I've tried to disable the viewstate both on the page, the control and the
htmltable, but nothing seems to work!
The 30kb viewstate is still there.
I have no need to store the contents of the treeview in the viewstate as
this is updated from the database every pageload.
Please help!
mortb