Linqdaatsource where clause not working

2 posts, 0 answers
  1. lakmal
    lakmal avatar
    76 posts
    Member since:
    Jun 2009

    Posted 10 Dec 2009 Link to this post


    My lingdatasource not working with where claues. Its working previously. But after update Q3 version its not working

      <asp:LinqDataSource ID="SqlTransmital"
            runat="server" ContextTypeName="DataClassesDataContext"
                                    AutoPage="False" Where="DocNo == @DocNo"
                                                      <asp:ControlParameter ControlID="Label1" DefaultValue="0" Name="DocNo"
                                                          PropertyName="Text" Type="String" />
    where is the error.

    Previous linqdatasource working when i remove where clause

  2. Yavor
    Yavor avatar
    11 posts

    Posted 15 Dec 2009 Link to this post

    Hi lakmal,

     Based on the supplied information, it is hard to determine what is causing the unwanted behavior. To further trace the problem, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and get back to you with further information on the matter.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top