ORM DataAccess Error

Thread is closed for posting
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

        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">
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                    <telerik:GridBoundColumn SortExpression="ID" HeaderText="ID" HeaderButtonType="TextButton"
                        DataField="ID" UniqueName="ID" ReadOnly="true">
                    <telerik:GridBoundColumn SortExpression="GroupName" HeaderText="Group Name" HeaderButtonType="TextButton"
                        DataField="GroupName" UniqueName="GroupName">
                <EditFormSettings CaptionDataField="ID" CaptionFormatString="Edit properties for Group with ID: {0}">
            <ClientSettings AllowKeyboardNavigation="true">
                <Selecting AllowRowSelect="true" />
                <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true"
                    AllowActiveRowCycle="true" />

  2. Alexander
    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,
    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
Back to Top