Home All Groups Group Topic Archive Search About

CheckBox not remembering value

Author
27 Jan 2006 5:37 PM
Jon
Hello all,

Any help would be much appreciated with this one!

I have a UserControl that contains 1 checkbox. This UserControl is
dynamically loaded and added into a cell of an outer datagrid when a button
in this outer datagrid is pressed. This works fine. Howver, if I check the
checkbox, then press another button (on the outergrid), the value (the tick)
is lots from the checkbox.

The 'inner' useControl is loaded on the Item_Render event of the outer grid
due to the fact that the UserControl has to be added at this point.

Any ideas to why this would be?

Thanks,

Jon

AddThis Social Bookmark Button