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.

I want to achieve a function that using a textEditbox to show a grid

Thread ID:

Created:

Updated:

Platform:

Replies:

73569 May 11,2008 10:55 PM May 21,2008 06:05 AM Windows Forms 3
loading
Tags: GridControl
Sean
Asked On May 11, 2008 10:55 PM

I don't know how to use Syncfusion to achieve that function as when I enter infomation in a texteditbox and than a grid will be show below the textbox with the info filter by the input words.
does any one known how to make this function?


Jisha Joy [Syncfusion]
Replied On May 12, 2008 06:49 AM

Hi,

Thank you for posting query to us.

This can be achieved by using RecordFilters of GridGroupingControl. Please refer the code:



string name = this.textBox1.Text;
this.gridGroupingControl1.TableDescriptor.RecordFilters.Clear();
this.gridGroupingControl1.TableDescriptor.RecordFilters.Add("Description", FilterCompareOperator.Like, name);



Please refer the sample:

Sample

Please let me know if this helps.

Regards,
Jisha


Sean
Replied On May 19, 2008 04:57 AM

Thank you for reply.one more question,I want to use a combobox to display gridlist information,when click the combobox ,a gridlist will be show in below.How can I do this? Thanks.


Jisha Joy [Syncfusion]
Replied On May 21, 2008 06:05 AM

Hi Strife,

Thank you for your update.

Please refer the modified sample that achieves the desired behaviour.

Modified sample with ComBoBox

Please try this and let me know if this helps.

Regards,
Jisha


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.

;