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

Nested EditForm UserControl

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Greg Ogle
Top achievements
Rank 1
Greg Ogle asked on 25 Aug 2010, 04:11 PM

I have a grid that opens a UserControl using the

<EditFormSettings UserControlName="SomeControl.ascx" EditFormType="WebUserControl"></EditFormSettings>

The user control contains another grid using another control for editing
<EditFormSettings UserControlName="Another.ascx" EditFormType="WebUserControl"></EditFormSettings>

The outer grid works like a champ, but the inner grid doesn't gets a blank line where the user control should be rendering.  I put a break point in Page_Load on the inner grid's control in Another.ascx.cs, but it never breaks.

Is there a bug or limitation with nesting grids using a UserControl.

Thanks,
Greg

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 30 Aug 2010, 04:45 PM
Hello Greg,

I have created a small sample that works as expected on my side. Please give it a try and let me know how it goes.

Regards,
Martin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Greg Ogle
Top achievements
Rank 1
answered on 30 Aug 2010, 06:56 PM
I worked through the problem by explicitly retrieving the data whenever the "DataItem" is null, and using DataKeys to pass in the needed ID.  But thanks for the example.
Tags
Grid
Asked by
Greg Ogle
Top achievements
Rank 1
Answers by
Martin
Telerik team
Greg Ogle
Top achievements
Rank 1
Share this question
or