A
Alexandre Soares
Hi,
I'm trying to get the client side id of a control inside a datagrid (ex.
myDatagridId_ctl2_myTextBoxId). On the server side code, if I try to use
((TextBox)e.ItemFindControl("myTextBoxId")).ClientID, it will just return
the ID of my textbox, so "myTextBoxId" instead of the true Client side ID. I
need this to refer to a textbox ni my datagrid using javascript (I generate
the javascript code in the ItemCreated event of the datagrid).
Thank you!
I'm trying to get the client side id of a control inside a datagrid (ex.
myDatagridId_ctl2_myTextBoxId). On the server side code, if I try to use
((TextBox)e.ItemFindControl("myTextBoxId")).ClientID, it will just return
the ID of my textbox, so "myTextBoxId" instead of the true Client side ID. I
need this to refer to a textbox ni my datagrid using javascript (I generate
the javascript code in the ItemCreated event of the datagrid).
Thank you!