ORM DataAccess Error

2 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    87 posts
    Member since:
    Oct 2012

    Posted 18 Apr 2011 Link to this post

    I have created one table with the name Group and I want to bind that table using Telerik ORM but I am getting this exception.

    Exception :

    An exception occured during the execution of ' Extent<FFDataLibrary.FFDAL.FF_Group>'.

    Code :

     Protected Sub BindGrid()

            Dim query = obj_DBContext.GetAll(Of FF_Group)()
            rgGroup.DataSource = query.ToList
            rgGroup.DataBind()


        End Sub

     <telerik:RadGrid ID="rgGroup" runat="server" ShowStatusBar="true" AutoGenerateColumns="False"
            AllowSorting="True" AllowMultiRowSelection="true" AllowPaging="True" GridLines="None"
            AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
            <PagerStyle Mode="NumericPages"></PagerStyle>
            <MasterTableView DataKeyNames="ID" AllowMultiColumnSorting="True" CommandItemDisplay="Top"
                Name="Group Name" Caption="Group Name" Summary="Group Name">
                <Columns>
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                    </telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn SortExpression="ID" HeaderText="ID" HeaderButtonType="TextButton"
                        DataField="ID" UniqueName="ID" ReadOnly="true">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn SortExpression="GroupName" HeaderText="Group Name" HeaderButtonType="TextButton"
                        DataField="GroupName" UniqueName="GroupName">
                    </telerik:GridBoundColumn>
                </Columns>
                <EditFormSettings CaptionDataField="ID" CaptionFormatString="Edit properties for Group with ID: {0}">
                </EditFormSettings>
            </MasterTableView>
            <ClientSettings AllowKeyboardNavigation="true">
                <Selecting AllowRowSelect="true" />
                <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true"
                    AllowActiveRowCycle="true" />
            </ClientSettings>
        </telerik:RadGrid>


  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 20 Apr 2011 Link to this post

    Hi Muhammad,

    This exception is not very explanatory. Could you please look if there is an internal exception which could give us more details about the exact problem?

    Kind regards,
    Alexander
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top