Hi, it's my first go at Telerik controls. Can't seem to get the Add New Record to show anywhere. I'm working in Visual Studio 2010, .NET 4.0, Windows 7 and am using what is available for download as a trial.
snippets from my aspx file:
<telerik:RadGrid ID="rgDealerMaintenance" AutoGenerateColumns="False"
AllowAutomaticInserts="True" GridLines="None" ShowFooter="true" runat="server" >
<MasterTableView EditMode="InPlace" DataKeyNames="RegistrationID" HeaderStyle-CssClass="body_text_black_BOLD">
<CommandItemSettings AddNewRecordImageUrl="Images/AddRecord.gif" AddNewRecordText="Add New" />
<Columns>
<telerik:GridBoundColumn DataField="RegistrationID" Visible="false" />
<telerik:GridBoundColumn UniqueName="txtFirstName" DataField="FirstName" HeaderText="First Name">
</telerik:GridBoundColumn>
...
<telerik:GridEditCommandColumn EditText="Edit" UniqueName="EditCommandColumn" UpdateText="Update" CancelText="Cancel" HeaderText="Edit">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn CommandName="Delete" Text="Delete" HeaderText="Delete">
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
the ShowFooter shows the footer, but doesn't put anything in it
what am I missing?
I don't want to put the add into the edit button - I am working with an application which contains an already written program which keeps the add and update separate and want to be consistant
Marianne Seggerman
snippets from my aspx file:
<telerik:RadGrid ID="rgDealerMaintenance" AutoGenerateColumns="False"
AllowAutomaticInserts="True" GridLines="None" ShowFooter="true" runat="server" >
<MasterTableView EditMode="InPlace" DataKeyNames="RegistrationID" HeaderStyle-CssClass="body_text_black_BOLD">
<CommandItemSettings AddNewRecordImageUrl="Images/AddRecord.gif" AddNewRecordText="Add New" />
<Columns>
<telerik:GridBoundColumn DataField="RegistrationID" Visible="false" />
<telerik:GridBoundColumn UniqueName="txtFirstName" DataField="FirstName" HeaderText="First Name">
</telerik:GridBoundColumn>
...
<telerik:GridEditCommandColumn EditText="Edit" UniqueName="EditCommandColumn" UpdateText="Update" CancelText="Cancel" HeaderText="Edit">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn CommandName="Delete" Text="Delete" HeaderText="Delete">
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
the ShowFooter shows the footer, but doesn't put anything in it
what am I missing?
I don't want to put the add into the edit button - I am working with an application which contains an already written program which keeps the add and update separate and want to be consistant
Marianne Seggerman