I have used the Configuration Tool to set my data instead of writing backend code to do so.
My Datasource is as follows:
<asp:EntityDataSource ID="EntityDataSource1" runat="server"
ConnectionString="name=AllDataModels" DefaultContainerName="AllDataModels"
EntitySetName="Project" Select="it.[Name], it.[Identifier], it.[ID]">
</asp:EntityDataSource>
I have then selected from the RadGrid Tasks from the arrow in design view --> General Features and checked "Enable Paging".
I am getting a error on the page when paging is enabled, but when paging is not enabled... the data is generated just fine and I can see all. When I enable paging ... I get the error again.
Here is my aspx code:
<
telerik:RadGrid ID="RadGrid1" runat="server"
style="z-index: 1; left: 9px; top: 122px; position: absolute;"
AllowSorting="True" DataSourceID="EntityDataSource1" GridLines="None"
AllowPaging="True">
<
MasterTableView AutoGenerateColumns="False" DataSourceID="EntityDataSource1">
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="Name" HeaderText="Name" ReadOnly="True"
SortExpression="Name" UniqueName="Name">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Identifier" HeaderText="Identifier"
ReadOnly="True" SortExpression="Identifier" UniqueName="Identifier">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="ID" DataType="System.Int32" HeaderText="ID"
ReadOnly="True" SortExpression="ID" UniqueName="ID">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Thanks for any help you can give. :)
~wen