How do you keep the value of global variables (namely a struct variable) between postbacks?
- by user3702304
I'm new to this and have already searched for this with not much luck :(
Lets say I have defined a struct array globally and filled the array with data on an Ajax ModalPopupExtender. I then have a ddl_SelectedIndexChanged event that does a postback and seems to recycle my array.
Is there a way to fire the ddl_SelectedIndexChanged event to perform some code without doing a postback? Or is there an easy way to make the array of type struct retain it's values?
(I am creating a website btw)
Thanks in advance...