Hi,
I'm trying to get the richtexteditor to display white text on a black background. (That's a requirement for us).
Simply setting the back and forecolors doesn't really work well;
_viewer.BackColor = Color.Black;_viewer.ForeColor = Color.White;_viewer.RichTextBoxElement.BackColor = Color.Black;_viewer.RichTextBoxElement.ForeColor = Color.White;I have also tried to change the paragraphs, but that still leaves a white paper, with paragraphs with black background.
_viewer.ChangeParagraphBackground(Color.Black);var documentEditor = new RadDocumentEditor(_viewer.Document);documentEditor.ChangeForeColor(Color.White);documentEditor.ChangeParagraphBackground(Color.Black); _viewer.Document.Selection.Clear();
Any advice on how I can set it up ?
Hi,
I have a popup contextmenu that needs to show on the mouse right click on the data cell, BUT SHOULD NOT SHOW when the user clicks or right clicks on the grid header.
Here is my code. How to capture the Grid header click by the mouse?
Private Sub grdInstPymt_MouseDown(sender As Object, e As MouseEventArgs) Handles grdInstPymt.MouseDown
Try
If e.Button = System.Windows.Forms.MouseButtons.Right Then
Me.ContextMenuStrip = PopUpMenu
PopUpMenu.Show()
End If
Catch ex As Exception
End Try
End Sub


Hello,
I'd like to remove the horizontal border in a grid within groups (GridViewColumnGroup not GroupDescriptor).
See the attached image, the green (verticals) borders are ok the red (horizontal) borders between the cells in the group are the ones I'd like to remove. (For normal cells and cells of the summary row)
I've tried the normal formatting events, but I found no information if a cell/row is inside a group?
So is this possible at all?
--
Also the GridViewColumnGroupRow.ColumnCollection is marked deprecated, so what is the best way to do this (the ColumnNameCollection dosen't help)?
GridViewColumnGroupRow groupRow = new GridViewColumnGroupRow();groupRow.Columns.Add(this.kMRadGridView1.Columns["column"]);Kind regars

Good day!
I use PivotGrid in conjunction with ChartView.
As one of the columns of data to implement a class for adding a field of type TimeSpan.
This code implements summary of TimeSpan:
/// <summary> /// Computes the sum of TimeSpan items during pivot grouping /// </summary> public class TimeSpanSum : AggregateFunction { protected override AggregateValue CreateAggregate(Type dataType) { return new TimeSpanAggregateValue(); } public override string DisplayName { get { return PivotGridLocalizationProvider.CurrentProvider.GetLocalizedString(PivotStringId.Sum); } } protected override void CloneCore(Cloneable source) { // } protected override Cloneable CreateInstanceCore() { return new TimeSpanSum(); } public override string ToString() { return "Sum"; } }This code adding aggregate description:
dataProvider.AggregateDescriptions.Add(new PropertyAggregateDescription{ PropertyName = ObjectHelper<PivotGridUnitStateDto>.GetPropertyName(x => x.Duration), CustomName = "Duration", AggregateFunction = new TimeSpanSum(), StringFormatSelector = new TimeSpanStringFormatSelector()});But ChartView generate exception on paint any data:
Unable to bring the object type "System.TimeSpan" type "System.IConvertible". (Mscorlib)------------------------------Program Location: в System.Convert.ToDouble(Object value) в Telerik.WinControls.UI.PivotGridChartDataProvider.UpdateChartCore() в Telerik.WinControls.UI.PivotGridChartDataProvider.UpdateChartData() в Telerik.WinControls.UI.PivotGridChartDataProvider.updateTimer_Tick(Object sender, EventArgs e)How can I fix this error?

Hello
I have found that we can allow the editor on the radtreeview level with the AllowEdit Property.
But on my treeview I have some nodes which should be editable and other which aren't.
How could I handle this ? Is it possible to prevent the initialization of the editor for some specific node ?
Thanks for you support
Hi,
I was testing the radGridView component and I was wondering how can I execute an action on double click, that is from scratch, I can see some info on the forum but its mostly particular to the post.
On my main form I fill the grid like:
public Main()
{
InitializeComponent();
grdMainWorkGrid.DataSource = WorksList.List();
}
Regards.

Hi,
based on our corporate identity, we want to use specific set of colors only. Is there any possibility to pre-define our company colors into RadColorDialog. pickers?
thanks
Georgi

Hi,
I am new to telerik.
Added filter to radgridview.Some default value i have set for some column when i am adding new row .
facing problem when trying to do filter it is taking default values in filter also for all column whose default values i have set..Rowindex for both Add new row and filter are same.
how to remove these default values from filter?
