4
Answers

ASP.NET gridview row click

Photo of janaki janaki

janaki janaki

13y
1.9k
1
im using gridview control,my question is if i click any row in grid i want to display some text etc...
which event i have to use

Answers (4)

0
Photo of Ankit Sharma
NA 8.8k 141k 7y
The process of sending the child control event to parent control is called event bubbling.
 
If we have a button inside a gridview control, we cannot retrieve the buttonclick event directly.Whenever the button is clicked the event is propagated to parent control and then to page.
 
Please refer to below links for further details
 
https://msdn.microsoft.com/en-us/library/aa719644(v=vs.71).aspx
http://www.dotnetfunda.com/interviews/show/3660/what-is-event-bubbling-in-aspnet
 
Hope this helps