Last post Jul 29, 2010 06:43 AM by sjnaughton
Jul 28, 2010 02:55 PM|sunny24365.net|LINK
I got a dropdown thats being loaded from Enum. The dropdown is enclosed in an update panel. Whenever the update panel refreshes, the selected value on drop down gets reset. How can i make the enum persist through update panel.
By the way, Im using Dynamic Data. Can any of the PersistenceMode or PersistenceChildrenAttribute help with this problem?
Thanks for your help guys
Jul 28, 2010 11:12 PM|marcinsw|LINK
usualy it is enough to secure your data binding with following condition check:
//bind drop down data data here
this way when you are postbacking you don't loose the selected value set before the postback occured.
Jul 29, 2010 06:43 AM|sjnaughton|LINK
Hi Sunny24365.net, can you post some code, as this is not an issue with any of the FT I've created.