T
TJ
I am using a third party web control that doesn't let me access to the
control's attributes. This is a rookie question, but is there way to
essentially look at, find/replace a control's attributes just before it gets
rendered to the page? I thought the control's Load event could be used
here. Can anyone point me in the right direction?
..net 1.0
C#
VisualStudio 2003
p.s. The control is in a TableCell in a DataGrid. I can add to the control
no problem using the grid's ItemDataBound event, I just grab the control
(using FindControl) and then use Attributes.Add() to add more stuff. But
I'm dying to edit an existing attribute's value just before it goes out the
door.
p.p.s. Is it possible to read a control's existing attributes during the
ItemDataBound event in a grid? I have a workaround for the above situation
if I could do this successfully.
Thanks in advance,
TJ
control's attributes. This is a rookie question, but is there way to
essentially look at, find/replace a control's attributes just before it gets
rendered to the page? I thought the control's Load event could be used
here. Can anyone point me in the right direction?
..net 1.0
C#
VisualStudio 2003
p.s. The control is in a TableCell in a DataGrid. I can add to the control
no problem using the grid's ItemDataBound event, I just grab the control
(using FindControl) and then use Attributes.Add() to add more stuff. But
I'm dying to edit an existing attribute's value just before it goes out the
door.
p.p.s. Is it possible to read a control's existing attributes during the
ItemDataBound event in a grid? I have a workaround for the above situation
if I could do this successfully.
Thanks in advance,
TJ