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.
Syncfusion Feedback

Customized RichText dropdown control

Thread ID:

Created:

Updated:

Platform:

Replies:

15141 Jun 11,2004 09:17 AM Jun 14,2004 08:01 AM Windows Forms 4
loading
Tags: GridControl
Lori S. Pearsall
Asked On June 11, 2004 09:17 AM

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 09:44 AM

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 11:12 AM

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 10:37 AM

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 08:01 AM

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.

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.

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

;