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

Get RadGrid ParentID from DetailTable Web User Control

2 Answers 93 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Samir
Top achievements
Rank 1
Samir asked on 14 Mar 2014, 01:31 PM
Hi,
I use a hierarchical radgrid and I do insert and update in parent and child table. To enter and insert I use Web User Control and update is working properly. The problem is following: When I do an insert I can not get the Parent ID from current parent row. There are some solutions on the forum but I did not managed to implement in my case (ascx). What is the best way to get ParentID from Child table Web User Control?

Thank you

2 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 19 Mar 2014, 09:46 AM
Hello Samir,

I have prepared a sample project illustrating how you could get the ParentID when the WebUserControl is opened in the nested GridTableView. The sample is attached to this post. Let me know if this approach is working for you.

Regards,
Viktor Tachev
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
0
Samir
Top achievements
Rank 1
answered on 25 Mar 2014, 09:21 AM
That's it. I changed a little but the example was helpful. Thanks a lot.
Tags
Grid
Asked by
Samir
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Samir
Top achievements
Rank 1
Share this question
or