Find and Access button inside a User Control in ASP.Net

Last Reply one year ago By Andrea

Posted one year ago


   I am having a user control with a Grid and button, I am loading this user control under another control,so that I can produce five grids and 5 buttons dynamically.
My question is, how to identify the button's click event and add new row in that specific grid only.
As of now, when I click on any button, new row has been added in the first grid only (as I am passing some hard code value). Thanks.

Posted one year ago
Hi @alibasha,
Please try the following

Refresh a GridView inside UserControl On Button Click in ASP.Net

It might help you.

Cheers Andrea.