Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > Telerik Data Services Wizard > ORM DataAccess Error

Not answered ORM DataAccess Error

Feed from this thread
  • Muhammad avatar

    Posted on Apr 18, 2011 (permalink)

    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>


    Reply

  • Alexander Alexander admin's avatar

    Posted on Apr 20, 2011 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > Telerik Data Services Wizard > ORM DataAccess Error
Related resources for "ORM DataAccess Error"

OpenAccess ORM Features  |  Documentation  |  Demos  |  Telerik TV  |  Step-by-step Tutorial   ]