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

Should I use EditItemTemplate ?

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Iron
Iron
Iron
Al asked on 11 Dec 2014, 10:27 AM
Hi,

If I use a grid smart tag to edit the EditTemplate and drag a control into the edit box provided, it produces this code in <MasterTableView>:

<EditItemTemplate>
    <asp:Button ID="Button1" runat="server" Text="Button" />
</EditItemTemplate>

but when my template opens it shows nothing, basically just a title bar with no content. When I use the code below (which I got from your website) then the template shows up just fine - so just what is EditItemTemplate all about?

<EditFormSettings EditFormType="Template">
    <PopUpSettings Modal="True" />
    <FormTemplate>
        <telerik:RadTextBox ID="Username" Runat="server">
        </telerik:RadTextBox>
    </FormTemplate>
</EditFormSettings>

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 16 Dec 2014, 09:34 AM
Hello Al,

The behavior you are experiencing is quite strange. Which EditMode are you using?

I've created a sample RadGrid web site to test the provided code snippet and on my side it is working as expected. Please run the attached application and let me know about the result.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Al
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Eyup
Telerik team
Share this question
or