Lightswitch Filter Control

Category: visual studio lsextensibility


Codernater on Thu, 06 Aug 2015 22:52:02

Hi guys,

I believe Lightswitch Filter Control (LFC) is causing a timeout.

I have tested another screen without LFC and all the data came back without any timeout.

Thank you for your assistance



Weiwei Cai on Mon, 10 Aug 2015 08:27:42

Hi Codernater,


Could you please tell us how do you use the Filter Control and could you please provide any code snippet that how do you filter?
I download the Filter Control and install it into Visual Studio 2012. Then create my query and use it on screen as below. It works fine in my side.

partial void FilterCalls_PreprocessQuery(string FilterTerm, ref IQueryable<PhoneCall> query) { query = FilterExtensions.Filter(query, FilterTerm, this.Application);



Best Regards,

Codernater on Mon, 10 Aug 2015 19:41:10

Hi Weiwei,

I already have the filter established and it working fine last month. 

the filter control runs fine with a new LS application, but not on the existing application. 

Weiwei Cai on Tue, 11 Aug 2015 06:21:19

Hi Codernater,

Could you please tell us what changes do you have done before it timeout? There may be some changes caused this issue. You also can try remove the filter control from this project and add it again.
Best Regards,

Codernater on Tue, 11 Aug 2015 18:52:25

The error was because it was timing out. 

so i add it a primary filter to the data and that was the dates filter. 

It worked like a charm :-)