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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Search Textbox - Silverlight

Thread ID:





107245 Feb 20,2013 10:23 PM UTC Mar 6,2013 01:45 PM UTC WPF 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 20, 2013 10:23 PM UTC

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

Rajasekar G [Syncfusion]
Replied On 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. 



Raja sekar.G


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon