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

Customized RichText dropdown control

Thread ID:





15141 Jun 11,2004 01:17 PM UTC Jun 14,2004 12:01 PM UTC WinForms 4
Tags: GridControl
Lori S. Pearsall
Asked On June 11, 2004 01:17 PM UTC

This is a toss-up as to whether it''s a grid or XPMenus question ... I have overridden GridRichTextBoxCellModel & GridRichTextBoxCellRenderer to present a custom user control in the dropdown to add text & highlight coloring - all works well. So, then I decided to switch from the standard Windows toolbar to an XPToolBar for a more consistent appearance. This doesn''t work well! Now, when I click on a toolbar button, the click event doesn''t fire. I set a breakpoint in DropDownContainerCloseDropDown and I''m getting a PopupCloseType of Deactivated. What am I missing? Thanks!

Administrator [Syncfusion]
Replied On June 11, 2004 01:44 PM UTC

Hi Lori, If you are using a ParentBarItem on the XPToolBar whose ParentStyle is set to Default, then it will not generate a Click event. You should set the ParentBarItem''s ParentStyle to DropDown for this purpose. Please refer to the test sample that illustrates this and let me kow if this meets your requirements. Regards, Guru Patwal Syncfusion, Inc.

Lori S. Pearsall
Replied On June 11, 2004 03:12 PM UTC

Hi Guru, Since I''m actually dealing with a UserControl instead of a Form (control is added to a form (PopupHost) at run-time via a GridRenderer), I don''t have a MainFrameBarManager - I can''t use it on the design surface. I just have an XPToolBar much like the XPToolbarsandContextMenus sample. Thanks, Lori

Lori S. Pearsall
Replied On June 12, 2004 02:37 PM UTC

Hi Guru, I''ve decided that I need to go another way. Instead of adding a custom user control to the dropdown form - I created my own form so that I could do a ShowDialog (make it modal). That seems to be the difference - clicking on an XPToolBar button in a non-modal form was deactivating the form. Thanks, Lori

Administrator [Syncfusion]
Replied On June 14, 2004 12:01 PM UTC

Hi Lori, Thanks for the update. I assume this issue has now been resolved. Let me know if you need any other information. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


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