The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator Syncfusion Team October 4, 2005 01:41 PM UTC
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.
>
>
>
STstef October 6, 2005 12:45 AM UTC
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
ADAdministrator Syncfusion Team October 6, 2005 02:06 AM UTC
We have made exporting to HTML a feature request.
http://www.syncfusion.com/support/features/grid/Default.aspx?ToDo=view&questId=492