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


Thread ID:





6646 Aug 21,2003 05:47 AM UTC Aug 21,2003 06:39 AM UTC WinForms 2
Tags: GridControl
Asked On August 21, 2003 05:47 AM UTC

I want to know if DataSource of my GDBG is dynamic ,where filterbar can not run? gridDataBoundGridDictionary.DataSource=m_DataSet; this.Cursor = Cursors.WaitCursor; this.gridDataBoundGridDictionary.BeginUpdate(); theFilterBar = new GridFilterBar(); this.gridDataBoundGridDictionary.BindingContext=this.gridRecordNavigationControl1.BindingContext; //theFilterBar.CreatingColumnHeader+=new GridFilterBarCreatingColumnHeaderEventHandler(theFilterBar_CreatingColumnHeader); theFilterBar.WireGrid(this.gridDataBoundGridDictionary); //theFilterBar.FilterBarTextChanged+=new GridFilterBarTextChangedEventHandler(theFilterBar_FilterBarTextChanged); this.gridDataBoundGridDictionary.EndUpdate(); this.Cursor = Cursors.Arrow;

Replied On August 21, 2003 05:49 AM UTC

What's more,my GEBG is in A GridRecordNavigationControl!

Administrator [Syncfusion]
Replied On August 21, 2003 06:39 AM UTC

If you want to use a GridFilterBar, then currently your datasource must be a DataTable. So, you should have code like: gridDataBoundGridDictionary.DataSource= someDataTable; or gridDataBoundGridDictionary.DataSource=m_DataSet gridDataBoundGridDictionary.DataMember="nameOfSomeDataTableIn_m_DataSet";


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon