deepa

deepa

  • NA
  • 42
  • 0

Page fails to load when arraylist being saved in Viewstate

Aug 17 2009 1:50 AM
Hi,
I'm facing problem when i load page with dynamically created controls. This happens if i save a arraylist in viewstate.
ViewState["Delim"] = arrList;
I searched the net, and found that we can save arraylists in viewstate, and that try saving it in page_preRender. I did so, but same issue. If i save some string in viewstate instead, it doesn't have any problems loading the dynamic controls.

Anyone can help me here, to resolve this?



Thanks,
Deepa

Answers (4)