Hi,
I'm working on a page which is creating quite a lot of viewstate, thus making the file size pretty big. It uses a repeater to repeate a user control a number of times (about 10). Inside the user control an LLBLGenProDataSource2 object is used to get the data for a grid - all works fine.
The file size for this page with a little data is 181K.
Howerver, if I modify the LLBLGenProDataSource to set EnableViewState = false, then the file size drops to a whopping 69K, but it stops working! When I save a grid's data, nothing is updated in the database.
Do I have to use the viewstate? What exactly is is storing in there - thats quite a lot of data!
[Edit]
I can confirm that the PerformWork method isn't firing when viewstate is set off. I wonder if I need to re-wire this up in the page load to make it start working...
[/Edit]
[Edit2]
Nope, the PerformWork just wont fire without viewstate, this is a major problem for me! I hope Frans is reading
[/Edit2]