A
Ather Ali Shaikh
IHi All,
I have a Master grid under this master grid i have child grid in template column. FINE.
but int this child grid i have text box and buttons hard coded. When I bound the grid with datasource it binds. FINE.
On the time binding I add attribute to button to run javascript.
As
mytxtControl = CType(e.Item.FindControl("txtDate"), TextBox )
CType(e.Item.FindControl("btnGet"), Button ).Attributes("onclick","return ImageList(' " & mytxtControl.ID & " ')")
this returns
mytxtControl.ID = nothing
and in view source of html it shows: DGTestMaster:_ctl2
GTestDetail:_ctl3:txtDate
I want to pass mytxtControl.ID to popup list against this textboxID
How can I do this.
Regards
Ather Ali Shaikh
I have a Master grid under this master grid i have child grid in template column. FINE.
but int this child grid i have text box and buttons hard coded. When I bound the grid with datasource it binds. FINE.
On the time binding I add attribute to button to run javascript.
As
mytxtControl = CType(e.Item.FindControl("txtDate"), TextBox )
CType(e.Item.FindControl("btnGet"), Button ).Attributes("onclick","return ImageList(' " & mytxtControl.ID & " ')")
this returns
mytxtControl.ID = nothing
and in view source of html it shows: DGTestMaster:_ctl2
I want to pass mytxtControl.ID to popup list against this textboxID
How can I do this.
Regards
Ather Ali Shaikh