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

[Solved] Using custom object source for DetailTable

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gregor Jaksa
Top achievements
Rank 1
Gregor Jaksa asked on 27 Feb 2008, 12:14 PM
Hello,

I'm having troubles figuring out how to populate detailtable with custom data depending which row was selected on it's parent view. This custom data could be array of string or collection of objects.

I did manage to get it working once, but unfortunately I forgot to save and lost everything :(

So I would like to ask if someone can post a small sample application which populates DetailTable on demand with custom data which has no relation to its master dataview, or at least some pointers on how to do this.

Thx in advance

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 27 Feb 2008, 12:28 PM
Hello Gregor,

You can use DetailTableDataBinding event where you can sassing desired DataSource for the detail table. Please visit this example:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/DetailTableDataBind/DefaultCS.aspx

Regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Gregor Jaksa
Top achievements
Rank 1
answered on 27 Feb 2008, 01:45 PM
Thx for the link, it was great help. All i forgot is to put grid into UpdatePanel. :)
Tags
Grid
Asked by
Gregor Jaksa
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Gregor Jaksa
Top achievements
Rank 1
Share this question
or