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.

Add DateTimePicker to FilterBar row

Thread ID:





61098 May 17,2007 03:43 PM May 17,2007 09:17 PM Windows Forms 6
Tags: GridControl
Asked On May 17, 2007 03:43 PM

I want to first off Thank Haneef for all the help he's been giving me.

I was able to adapt the checkbox list to a ListBox, But I'm stuck trying to add a DateTimePicker to the FilterBar.

Hpw do i go about this.

haneefm [Syncfusion]
Replied On May 17, 2007 05:09 PM

Hi Nedu,

Thank you for your update.

Here is a minimal sample that shows you "How to add a datetime picker in a filterbar cell?".

Please refer to the sample and let me know if this helps.

Best regards,

Replied On May 17, 2007 05:31 PM

Exactly what I was looking for...thanks once again...At the chance of sounding dumb...

could I ask for a sample to add a regular textbox that to the filter bar

haneefm [Syncfusion]
Replied On May 17, 2007 05:40 PM

Hi Nedu,

Here is a forum thread that discuss with the similar issue.

Best regards,

Replied On May 17, 2007 06:13 PM

Hey Haneef, I have two columns that use the datetime picker, so i set the cell type for both to the "MonthCalender" and added the event wiring, however whenever the date on one of them is updated, the other is updated too...is thier a way to make them update separately

haneefm [Syncfusion]
Replied On May 17, 2007 06:44 PM

Hi Nedu,

You can use the Hashtable to store the different column filter value and retrive that filter value in a TableControlDrawCellDisplayText event. Please refer to the modified sample and let me know if this helps.

Sample : ModifiedFilterBarUserControANDMonthCalendarl.zip

Best regards,

Replied On May 17, 2007 09:17 PM

God Bless you Haneef.

Thank you so much....I'm sure i'll be needing you again soon.

Thanks a million


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.