M
Mark
I have a user control which contains a datagrid of textboxes and dropdowns
which are all template columns.
I need to validate the fields when the user posts back and change the
CSSClass property on any offending fields.
It looks like you can ONLY modify properties of controls in template
controls on the item_created event. ?
I can get a reference to the control in other events AFTER the item_created
and get the values, but at that point
when I set the CSSClass it doesn't work. The code doesn't break, but the
style isn't applied.
can someone confirm this, or is there some way you can modify template
column controls AFTER the item_created event?
thanks.
which are all template columns.
I need to validate the fields when the user posts back and change the
CSSClass property on any offending fields.
It looks like you can ONLY modify properties of controls in template
controls on the item_created event. ?
I can get a reference to the control in other events AFTER the item_created
and get the values, but at that point
when I set the CSSClass it doesn't work. The code doesn't break, but the
style isn't applied.
can someone confirm this, or is there some way you can modify template
column controls AFTER the item_created event?
thanks.