This is a migrated thread and some comments may be shown as answers.

ORM DataAccess Error

1 Answer 27 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Muhammad
Top achievements
Rank 1
Muhammad asked on 18 Apr 2011, 11:51 AM
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>


1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 20 Apr 2011, 05:02 PM
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
Tags
Web Services
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or