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

    Hi,

    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"
                                            TableName="qry_Data_Transmittals"
                                    AutoPage="False" Where="DocNo == @DocNo"
            OrderBy="Client_Rtrn_Description">
                                                  <WhereParameters>
                                                      <asp:ControlParameter ControlID="Label1" DefaultValue="0" Name="DocNo"
                                                          PropertyName="Text" Type="String" />
                                                  </WhereParameters>
                                    </asp:LinqDataSource>
    where is the error.

    Previous linqdatasource working when i remove where clause

    lakmal
  2. Yavor
    Admin
    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,
    Yavor
    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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top