G
Glenn Owens
Can someone please explain the rationale behind not putting a checkbox
reference into the postback data collection?
I have a composite control (supporting IPostBackDataHandler) which
populates a DataGrid with dynamic controls (textboxes, labels,
dropdownlists, etc). Until I started to implement support for
checkboxes all of the previous controls are always
represented/available in the postback data collection. - not
checkboxes.
Apparently checkboxes only show up in the collection if they're
checked. Aside from being a frustrating none-to-well documented
"feature" this requires the composite control code to handle
checkboxes differently.
Anyone wishing to shed some insight into this odd feature is welcome.
reference into the postback data collection?
I have a composite control (supporting IPostBackDataHandler) which
populates a DataGrid with dynamic controls (textboxes, labels,
dropdownlists, etc). Until I started to implement support for
checkboxes all of the previous controls are always
represented/available in the postback data collection. - not
checkboxes.
Apparently checkboxes only show up in the collection if they're
checked. Aside from being a frustrating none-to-well documented
"feature" this requires the composite control code to handle
checkboxes differently.
Anyone wishing to shed some insight into this odd feature is welcome.