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

Last Reply on Aug 24, 2016 11:09 AM By Andrea

Posted on Aug 24, 2016 11:09 AM

Hi,

   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 on Aug 24, 2016 11:09 AM
Hi @alibasha,
Please try the following

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

It might help you.

Cheers Andrea.