
I have a column group that contains 5 rows. I wish to hide the headers of the last 4 rows. I did put in the following code in the viewcellformatting event (below, but it did not hide the column group rows. My headertext on those rows are empty, and the images are attached. "Capture2.jpg" is the image before using the viewcellformatting event code. "Before.jpg" is the event code below being implemented, and "result.png" is what I am attempting to achieve. Thanks in advance for any help.
Private Sub RadGridView1_ViewCellFormatting(sender As Object, e As CellFormattingEventArgs) Handles RadGridView1.ViewCellFormatting
If TypeOf sender Is GridHeaderCellElement Then
e.CellElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed
e.CellElement.AutoSize = False
e.CellElement.MaxSize = New Size(0, 0)
e.CellElement.MinSize = New Size(0, 0)
e.CellElement.Size = New Size(0, 0)
End If​

I'm not databinding, just trying to set the timepicker to null. I can set the nulltext property, but how to set the value to null?
Later
Art




Hello Telerik
I have a RadPageView in Strip Mode and I would like to highlight some pages on runtime.
By highlighting I mean change the theme color for the different state (selected, mouse over, etc.) of the RadPageView. The business need is to show the user which pages needed an action.
I have found how to change the backcolor of a RadPageView but not for the different state of the control. Is there a way to do it without handling multiple event ?

Hi,
I'm facing a strange behaviour when i export a userControl containing a ChartView as a png picture.
Let's explain my issue with code.
First i create a userControl, this userControl has a title ( label) and a chartView.
this chart is slightly customized, i want to show checkboxes as legend items. to do this, i have followed an example mentioned in the forum.
If the checkbox is unckeced the related serie is hidden.
var myUserControl = new StatisticLayoutWithAdditionalStats();myUserControl.ChartView.ChartElement.LegendElement.VisualItemCreating += LegendElement_VisualItemCreating;/// Set layout propertiesmyUserControl.Title = "Blablabla";myUserControl.ChartView.AreaType = ChartAreaType.Cartesian;myUserControl.ChartView.ShowLegend = true;LineSeries serie1 = new LineSeries();LineSeries serie2 = new LineSeries();serie1.DataSource = new BindingList<Coordinate>(Serie1DataSource.Coordinates);serie1.CategoryMember = "Abscissa";serie2.DataSource = new BindingList<Coordinate>(Serie2DataSource.Coordinates);serie2.CategoryMember = "Abscissa";serie2.ValueMember = "Ordinate";myUserControl.ChartView.Series.Add(serie1);myUserControl.ChartView.Series.Add(serie2);
// This class is used to customize legend itemspublic class CheckBoxLegentItemElement : LegendItemElement{ private RadCheckBoxElement checkBox = new RadCheckBoxElement();public CheckBoxLegentItemElement(LegendItem item){ this.checkBox.ToggleStateChanged += checkBox_ToggleStateChanged;} void checkBox_ToggleStateChanged(object sender, StateChangedEventArgs args) { if (args.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On) { this.LegendItem.Element.IsVisible = true; } else { this.LegendItem.Element.IsVisible = false; } }}
If i display this userControl in a Form it works fine.
But i want to export this userControl as a picture, the userControl can't be displayed in a form, juste created in memory.
myUserControl.Size = new Size(600,400);Bitmap bitmap = new Bitmap(600, 400);myUserControl.DrawToBitmap(bitmap, (myUserControl.ClientRectangle));If all checkboxes are checked, the image is good.
But if, at least, one of them is uncheck the graph doesn't display.
Do you have any explanation ?
Regards,
Mathieu

Hi,
I have a question about charts localization.
I create a chart, the horizontal axe is a DateTimeCategoricalAxis.
The format of the label is (Month - Year).
I display the graph with english and french culture, the month is translated correctly, which is very good !! :)
My question : is it possible the force the graph to display in french culutre even if the current culture is english ?
Regards,
Mathieu.
