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.

GridRangeStyle

Thread ID:

Created:

Updated:

Platform:

Replies:

35566 Oct 4,2005 09:32 AM Oct 5,2005 10:06 PM Windows Forms 3
loading
Tags: GridControl
stef
Asked On October 4, 2005 09:32 AM

Hi, GridControl derived class I have noticed after ver 3.0 that the Designer code add repeatedly instances of GridRangeStyle objects without reason. Perhaps because in constructor I assign a new BaseStyleMap. How to avoid the GridRangeStyle assignements. Now I clear all after initialization. Regards Stefan.

Administrator [Syncfusion]
Replied On October 4, 2005 09:41 AM

Hi Stefan, in your gridcontrol-derived class try to override these methods using the new keyword and specify ContentSerialization.Hidden: [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new GridRangeStyleCollection RangeStyles { get { return base.RangeStyles; } set { base.RangeStyles = value; } } Stefan >Hi, >GridControl derived class >I have noticed after ver 3.0 that >the Designer code add repeatedly instances of GridRangeStyle objects >without reason. >Perhaps because in constructor I assign >a new BaseStyleMap. > >How to avoid the GridRangeStyle assignements. >Now I clear all after initialization. > >Regards >Stefan. > > >

stef
Replied On October 5, 2005 08:45 PM

Thanks. It works . BTW a feature request . Do you plan to export into an html table the formatted data of GridControl ? We can do directly from the datasource but it would be nice to take the format from the Grid and for another reasons it is preferable also. Regards Stefan

Administrator [Syncfusion]
Replied On October 5, 2005 10:06 PM

We have made exporting to HTML a feature request. http://www.syncfusion.com/support/features/grid/Default.aspx?ToDo=view&questId=492

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.

;