M
musosdev
Hi
I have a .net 3.5 web application. It's quite complicated (nested master
pages) and all is fine, apart from my DropDownList won't persist the selected
value.
My Master Page hierarchy is as follows...
Main Master
-- Section Master
-- -- Content Page
-- -- -- ASP:Repeater
-- -- -- -- HeaderTemplate
-- -- -- -- -- DropDownList that doesn't remember!
As far as I can tell, all the Master pages, the content page, and the
repeater have "EnableViewState" set to TRUE.
The list is populated in the ASPX (not the codebehind), so that should be
fine?!
My code fires an OnSelectedIndexChanged event which grabs the value from the
DropDownList (which works fine), but then when the page reappears, the
selected ListItem is back at the default?
What's going on?! Thanks!
I have a .net 3.5 web application. It's quite complicated (nested master
pages) and all is fine, apart from my DropDownList won't persist the selected
value.
My Master Page hierarchy is as follows...
Main Master
-- Section Master
-- -- Content Page
-- -- -- ASP:Repeater
-- -- -- -- HeaderTemplate
-- -- -- -- -- DropDownList that doesn't remember!
As far as I can tell, all the Master pages, the content page, and the
repeater have "EnableViewState" set to TRUE.
The list is populated in the ASPX (not the codebehind), so that should be
fine?!
My code fires an OnSelectedIndexChanged event which grabs the value from the
DropDownList (which works fine), but then when the page reappears, the
selected ListItem is back at the default?
What's going on?! Thanks!