G
Guest
I'm finally making the asp to asp.net transition and "newbie" questions.
I have a webform which contains a CheckBoxList element. I use a
sqldatareader as the source for it's data source, everything works fine.
When the form is submitted and the page is reloaded, all the textbox elements
contain all the postback data but the CheckBoxList does not retain the
selected items. Is this because the CheckBoxList is dynamically created? In
classic ASP I'd capture the selected items during the page reload and
programatically set the selected item values after the CheckBoxList is
regenerated. Is there some .netty way of acomplishing this or is the process
still the same.
thanks, Craig
I have a webform which contains a CheckBoxList element. I use a
sqldatareader as the source for it's data source, everything works fine.
When the form is submitted and the page is reloaded, all the textbox elements
contain all the postback data but the CheckBoxList does not retain the
selected items. Is this because the CheckBoxList is dynamically created? In
classic ASP I'd capture the selected items during the page reload and
programatically set the selected item values after the CheckBoxList is
regenerated. Is there some .netty way of acomplishing this or is the process
still the same.
thanks, Craig