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

Issue with RadGrid population

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 17 Aug 2011, 07:28 PM
Hi Friends,

I am very new to Telerik control.

I have a task to populate two radgrids. the scenario is

1)  On load the first grid say (RoomGrid) populates Room names of a school ie from 1 to 10 with Id, Roomname and Description

1-Room1-Descritpion1
2-Room2-Description2
.
.
.10-Room10-Description

So when I click on a particular row the second grid say studGrid should be populated with StudId, StudName in that room.

I dont want postback to happen when I click on the row as i will be opening a radwindow on doubleclicking RoomGrid.

So If I use selectedIndexChanged event the page will reload(postback) and doubleclick fails.

Can anyone help me how to do this? or any sample code? Very urgent Please

Thanks in Advance
Balaji





2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 18 Aug 2011, 05:10 AM
Hello Balaji,

You can populate the second grid using DetailTableDataBind event of the RadGrid which fires to bind each detail table-view. Check the following help documentation which explains more about this.
Grid / Programmatic Binding.

Thanks,
Princy.
0
Balaji
Top achievements
Rank 1
answered on 18 Aug 2011, 06:46 AM
Hi Princy,

Thanks for the reply. But in my case its two different grid and dont have detailtable in the first grid. So what should I do in this case?

Thanks,
Balaji
Tags
General Discussions
Asked by
Balaji
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Balaji
Top achievements
Rank 1
Share this question
or