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

Linqdaatsource where clause not working

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lakmal
Top achievements
Rank 2
lakmal asked on 10 Dec 2009, 06:16 PM
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

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 15 Dec 2009, 02:00 PM
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.
Tags
Grid
Asked by
lakmal
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Share this question
or