Boguda Boguda

Boguda Boguda

  • NA
  • 27
  • 9k

show templatefield gridview in gridvi only for selected row

Jul 7 2015 8:30 AM

HI

I created webform with gridview and in that gridview I have templatefield gridview.

Gridview1 is bind by ObjectDatasource1 and Gridview2(templatefield) is bind by ObjectDatasource2.
ObjectDatasource2 have method GetAllScanLogRow(Int32 SLID), returns List<ScanLogRow> 
and parameter sourceis Control GridView1.
When I select row I GridView1 I want to display templatefield GridView2 but only for that row.
Now I got displayed gridview in every row with same data   

Answers (1)