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

WebUserControl EditFormType in DetailTable heirarchy

2 Answers 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Graham
Top achievements
Rank 1
Graham asked on 02 Jun 2011, 02:48 AM
Is it possible to use a WebUserControl edit form to edit a DetailTable row in a grid heirarchy?  If so, are there any special requirements in terms of positioning?  Is there any example code of how to process the update?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Jun 2011, 08:31 AM
Hello Graham,

You can use the WebUser control as editform in Detail table as well. Specify the EdittForm settings for the detail table same like that of Master Table.
aspx:
<EditFormSettings UserControlName="EmployeeDetailsCS.ascx" EditFormType="WebUserControl">
  <EditColumn UniqueName="EditCommandColumn1">
  </EditColumn>
</EditFormSettings>

Also take a look at the following help article.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx

Thanks,
Shinu.
0
Sebastian
Telerik team
answered on 02 Jun 2011, 08:52 AM
Graham, you may also be interested in reviewing the implementation in this live demo.

Greetings,
Sebastian
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Graham
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or