We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Search Textbox - Silverlight

Hello,
 
we are using VS10 SL4 and trying to add a (indexed) search textbox which should list the content directly to the domaingriddatacontrol.
 
It should show or filter data with several colums.
If you search for Zip Code (you write in textbox 23) it should just show data in the grid with 23.
If it is the adress, zipcode or CostumerID....
 
Latest 9 Version Studio.
 
By the way, which version is the last supporting VS10 SL4? I am asking because we had much trouble to use SL4 AddIns in VS 2012.
 
Thank you
 
regards
 
Petro

1 Reply

RG Rajasekar G Syncfusion Team March 6, 2013 01:45 PM UTC

Hi Petro,
 
Thank you for using Syncfusion products.
 

We have analyzed your query but we are unable to understand your required scenario. However we have prepared a sample based on the given information. In the sample we have TextBox for search item and a ComboBox for Selecting Columns in GridDataControl. You can achieve the same by searching in GridDataControl with the following code snippet.

 

Code Snippet[C#]:

this.grid.VisibleColumns["ShipAddress"].Filters.Add(new FilterPredicate() {

FilterType = Syncfusion.Linq.FilterType.Contains, FilterValue = searchString, PredicateType = PredicateType.Or,

FilterBehavior = Syncfusion.Linq.FilterBehavior.StringTyped });

We have created a Simple sample based on the given information. You can download the sample from the following location.

 

 

Sample Link: SilverlightDomainService.zip

 

 

In our GridDataControl application will be working fine in SL4 with VS2012 .

 

Please let us know if you have any questions. 

 

Regards,

Raja sekar.G


Loader.
Live Chat Icon For mobile
Up arrow icon