2 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 16 May 2008 Link to this post

    I am using Rad Controls for
    I am using telerik grid and LinqDataSource.

    I have created DataContext.dbml in which I have drag grop a view vw_Tests. I want to bind the data from view to the gridview.

    It buits/ compiles the application successful but when I execute it, it hangs my PC.

    I have to end task my server process.

    Please assist.

    Below is the code

    <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" DataSourceID="LinqDataSource1" >

    <MasterTableView AutoGenerateColumns="False" DataSourceID="LinqDataSource1">

    <RowIndicatorColumn Visible="False">

    <HeaderStyle Width="20px"></HeaderStyle>


    <ExpandCollapseColumn Visible="False" Resizable="False">

    <HeaderStyle Width="20px"></HeaderStyle>



    <telerik:GridBoundColumn DataField="ExaminationId" DataType="System.Int32"

    HeaderText="ExaminationId" SortExpression="ExaminationId"



    <telerik:GridBoundColumn DataField="ExaminationAccessionCode"

    HeaderText="ExaminationAccessionCode" SortExpression="ExaminationAccessionCode"



    <telerik:GridBoundColumn DataField="ExaminationDate" DataType="System.DateTime"

    HeaderText="ExaminationDate" SortExpression="ExaminationDate"





    <PopUpSettings ScrollBars="None"></PopUpSettings>




    <asp:LinqDataSource ID="LinqDataSource1" runat="server"

    ContextTypeName="DataContext" TableName="vw_Tests">



  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 19 May 2008 Link to this post

    Hello Rahul,

    I think that the project from the following code library post will help you bind your RadGrid for ASP.NET AJAX instance to LinqDataSource control and perform automatic data editing operations:

    Also verify that you are using the latest hotfix Q1 2008 SP1 of the control (part of Telerik.Web.UI.dll ver.2008.1.515).

    Best regards,

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top