how to get client id of textbox in gridview
-
Hi i have implemented a grid view in each there are certaing textboxes and there is a button called popup besides first textbox of the row so what i want when i click this button it shud get the client id of first textbox in the row how can i achieve this any help will be greatly appreciated
-
Hi i have implemented a grid view in each there are certaing textboxes and there is a button called popup besides first textbox of the row so what i want when i click this button it shud get the client id of first textbox in the row how can i achieve this any help will be greatly appreciated
e.Row.Cells[Index].Controls[Index].ClientID.ToString() Remember the function should have "GridViewRowEventArgs e" as one of its arguments. onclick() event of the button pass the clientId as an argument to the function to execute.
Long Live