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.
Unfortunately, activation email could not send to your email. Please try again.

Search Textbox - Silverlight

Thread ID:

Created:

Updated:

Platform:

Replies:

107245 Feb 20,2013 05:23 PM Mar 6,2013 08:45 AM WPF 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 20, 2013 05:23 PM

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

Rajasekar G [Syncfusion]
Replied On March 6, 2013 08:45 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;