Telerik
Skip Navigation LinksHome / Community / Forums / ASP.NET > Grid > RadGrid, ASP.NET 3.5 and VS 2008

Not answered RadGrid, ASP.NET 3.5 and VS 2008

Feed from this thread
  • Oleg Koval avatar

    Posted on Jan 2, 2008 (permalink)

    Hi,

    Does anybody have an experience how to install RadGrid on VS 2008?
    I am starting new project. Is it possible to use RadGrid v5.1 in ASp.NET 3.5 project?

    Bohdan

    Reply

  • Telerik Admin admin's avatar

    Posted on Jan 3, 2008 (permalink)

    Hello Bohdan,

    You can check the example projects from my post:
    http://blogs.telerik.com/blogs/vladimir_enchev/archive/2007/09/15/3650.aspx

    Sincerely yours,
    Vlad
    the Telerik team

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

    Reply

  • Oleg Koval avatar

    Posted on Mar 6, 2008 (permalink)

    Thak you Vlad

    Reply

  • Oleg Koval avatar

    Posted on Mar 6, 2008 (permalink)

    Hi Vlad,

    I found some nuances in work of  bundle LINQ and RadGrid. The table in MSSQL that I use in RadGrid has Image field. I do not use this field in RadGrid . When I set "Delay Loaded = true" for this field in LINQ designer then after updating other fields via grid the RadGrid or LINQ (I don't know which) erases this Image field. If I set "Delay Loaded = false" then no problem - I can update rows in grid and Image field untouched.

    Here is LinqDataSource.

    <asp:LinqDataSource ID="ProcesesLinqDataSource" runat="server" ContextTypeName = "HomeDepotWebApp.Classes.HDPortalDataContext" TableName = "Processes" EnableUpdate = "True" Where = "WBS.Contains(@WBSPart) &amp;&amp; VendorName == @VendorName &amp;&amp; CustomerStoreId == @CustomerStoreId &amp;&amp; PONumber == @PONumber &amp;&amp; SAPArticleNumber == @SAPArticleNumber" OnSelecting = "ProcesesLinqDataSource_Selecting">
    <WhereParameters>
    <asp:QueryStringParameter QueryStringField="WBSPart" Name="WBSPart" Type="String" />
    <asp:ControlParameter ControlID="Vendor" Name="VendorName" PropertyName="Text" Type="String" />
    <asp:ControlParameter ControlID="Store" Name="CustomerStoreId" PropertyName="Text" Type="String" />
    <asp:ControlParameter ControlID="PONumber" Name="PONumber" PropertyName="Text" Type="String" />
    <asp:ControlParameter ControlID="SAPArticleNumber" Name="SAPArticleNumber" PropertyName="Text" Type="String" />
    </WhereParameters>
    </asp:LinqDataSource>





    Here is log from SQL Server Profiler (Delay Loaded = True)

     
    exec sp_executesql N'UPDATE [dbo].[Process]
    SET [PackingSlip] = @p2, [QtyShipped] = @p3
    WHERE ([ProcessId] = @p0) AND ([timestamp] = @p1)
    SELECT [t1].[timestamp]
    FROM [dbo].[Process] AS [t1]
    WHERE  ((@@
    ROWCOUNT) > 0) AND ([t1].[ProcessId] = @p4)',N'@p0 int,@p1 timestamp,@p2 image,@p3 int,@p4 int'
    ,@p0=3,@p1=0x000000000009EC49,@p2=NULL,@p3=2,@p4=3
     

    PackingSlip it is my Image filed.


    Here is log from SQL Server Profiler (Delay Loaded = False)
     
    exec sp_executesql N'UPDATE [dbo].[Process]
    SET [QtyShipped] = @p2
    WHERE ([ProcessId] = @p0) AND ([timestamp] = @p1)
    SELECT [t1].[timestamp]
    FROM [dbo].[Process] AS [t1]
    WHERE ((@@
    ROWCOUNT) > 0) AND ([t1].[ProcessId] = @p3)',N'@p0 int,@p1 timestamp,@p2 int,@p3 int'
    ,@p0=3,@p1=0x000000000009EC4A,@p2=22,@p3=3

    So there is problem? In LINQ, in RadGrid or in Me?

    Please help
    Thanks

    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 11, 2008 (permalink)

    Hello Oleg,

    We are not aware of such an issue. Is it possible to open a support ticket and send a sample runnable project that we can test on our side along with step-by-step instructions (and backup of your database if needed) on how to reproduce the problem? We will do our best to help you solve the issue using further information you provide us.

    All the best,
    Plamen
    the Telerik team

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

    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 12, 2008 (permalink)

    Hi Oleg,

    I have checked your example and I have to say that you will get exactly the same result with MS GridView. You can find an application attached.

    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
    Attached files

    Reply

  • Oleg Koval avatar

    Posted on Mar 12, 2008 (permalink)

    hm...

    Then it is bug of LinqDataSource

      :(((

    Reply

  • Oleg Koval avatar

    Posted on Mar 17, 2008 (permalink)

    Response from Microsoft:

    This looks to be a bug in ASP.NET LinqDataSource that you are running into. We have opened a bug to get it fixed for the next SP/Release of the .NET Framework.

    Reply

Back to Top

Skip Navigation LinksHome / Community / Forums / ASP.NET > Grid > RadGrid, ASP.NET 3.5 and VS 2008

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.