tags:

views:

24

answers:

1

Dear All,

I have a master grid and a child grid which is one of the column of the master Grid and whose data is getting bound to datasource on rowDataBound of master grid view. Now the thing that I want is to get the value of one of the columns of the master grid on the row command of the child grid. Is it possible in any way?

Please suggest

Vikram

A: 

In the RowDataBound event of the Master Page Grid (you are already using this event), get a reference to a Control (button, link button) in the child grid and set it's CommandName and CommandArgument properties as needed.

TheGeekYouNeed