I have a control in a grid and would like to access the grid. I don’t have access to the grid in the code behind but I do have access to an instance of the control. Is there a way to obtain the grid parent using the instance of the control?
Share
Assuming that your control is a button within a Grid, and that you access to this Button via the clicking event, this is how you would access the Grid.