This is a migrated thread and some comments may be shown as answers.

Grid in grid

2 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Timyr
Top achievements
Rank 1
Timyr asked on 29 Jul 2011, 10:20 AM
Hi!! I have a issue)))  I have a grid and EditFormSettings! In EditFormSettings i have a grid too))) in second grid i have button to click on that i have i radwindow! and i want to rebind this grid) by cliking the button on radwindow)) how i can do this?help please))) 

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Jul 2011, 11:37 AM
Hello Timyr,

Try the following code snippet to achieve your scenario.

Javascript:
<script type="text/javascript">
 function RefreshGrid()
 {
  var masterTable = $find("<%= RadGrid1 %>").get_masterTableView();//accessing outer grid
  var Grid1= masterTable.get_dataItems()[0].findControl("RadGrid2");//accessing inner grid
  Grid1.get_masterTableView().rebind;
 }
</script>

Thanks,
Princy.
0
Timyr
Top achievements
Rank 1
answered on 29 Jul 2011, 12:16 PM
I don't understand where past this code? I use a new page aspx for radwindow(
Tags
Grid
Asked by
Timyr
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Timyr
Top achievements
Rank 1
Share this question
or