Declined
Last Updated: 13 Dec 2013 12:23 by ADMIN
sqna
Created on: 16 Apr 2013 09:11
Category: Grid
Type: Feature Request
0
Usercontrol defined in the form template of RadGrid
Currently to use a UserControl in RadGrid, it has to be in EditFormSettings defined as UserControlName. This functionallity requires filling all the controls of UserControl again on ItemDataBound event.
It should be possible to put the UserControl in FormTemplate when EditFormType is "Template" . Thank you.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Radoslav
Posted on: 13 Dec 2013 12:23
The RadGrid supports adding user controls into the FormTemplate when the EditFormSettings.EditFormType is set to Template:
<%@ Register Src="~/WebUserControl.ascx" TagName="WebUserControl" TagPrefix="test" %>
…
<EditFormSettings EditFormType="Template">
                <FormTemplate>
                   <test:WebUserControl runat="server" />
                </FormTemplate>
            </EditFormSettings>