Hi
Is it possible to use the RichTextEditor (in WinForms) to edit the source/the formatting of the rich text? Much like the HTML view of the comparable ASP.Net control?
There are sometimes when it is hard to understand why some formatting are applied specially when doing copy-and-paste.
I found the ToggleFormattingSymbolsCommand but while it is showing some code, it doesn't show them all and doesn't make the editing easier.
I have a radgridview element where I need to programmatically insert a new row into the child structure of a certain parent row. The behavior would be the same as if I add a row from the add new row (UserAddNewRow). The final result should be equivalent to the row 'NEW ROW' in the attached image.
Thank you.
Hi
I have the following code ..
Private
Sub
RadGridView1_CellFormatting (sender
As
Object
, e
As
UI.CellFormattingEventArgs)
Handles
RadGridView1.CellFormatting
If
e.CellElement.ColumnInfo.Name =
"Document"
Then
e.CellElement.ForeColor = Color.Red
Else
e.CellElement.ResetValue (LightVisualElement.ForeColorProperty, ValueResetFlags.Local)
End
if
If
e.CellElement.ColumnInfo.Name =
"Document"
Then
If
e.CellElement.RowInfo.Cells (
"Document"
). Value> = RadTextBox4.Text
And
e.CellElement.RowInfo.Cells (
"Document"
). Value <= RadTextBox5.Text
Then
e.CellElement.DrawFill =
True
e.CellElement.BackColor = Color.Yellow
e.CellElement.ForeColor = Color.Blue
e.CellElement.GradientStyle = Telerik.WinControls.GradientStyles.Radial
e.CellElement.Font =
New
Font (
"Book Antiqua"
, 12.75 !, FontStyle.Bold)
End
if
End
if
End
Sub
works perfectly !
Now I would like to add only the sum in the
"Document"
column that only e.CellElement.BackColor = Color.Yellow or also e.CellElement.GradientStyle = Telerik.WinControls.GradientStyles.Radial have.
I would like to have this sum displayed in radlabel3.text, how do I get it there?
void
DFGRID_CellValueChanged(
object
sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
e.Row.Tag =
"dirty"
;
}
Hello. I searched for similar problems in the threads but can't find one that solves my problem.
My form's KeyPreview property is set to true, and I have a code for Form_KeyDown event as follows:
private void Form_KeyDown(Object eventSender, KeyEventArgs eventArgs)
{
...some code
}
Now, when I press the ESC key inside one of the cells in edit mode, I expect the Form_KeyDown event to fire. But in this case, it does not. It only fires when the grid is not in edit mode.
How can I automatically trigger these form key events from the editors, without manually calling them from CellEditorInitialized?
Thank you in advance.
Is there a best way to clear contents of an unbound grid without removing the rows/columns?
RadGridView.Rows.Clear() is not desirable because it deletes the actual rows.
I see that the CustomColors[] array is read only.
How can I assign a list of custom colors to a ColorDialogForm?
Thanks,
Jim
Hello
I am trying to modify programmatically the back color of the Grid Column Chooser.
I have tried setting the backcolor on the columnChoosercreated Event but I had no success
Thanks in advance for any advice on the matter
Pierre-Jean
Hi,
I'm having a bit of an issue filtering old dates in my gridview. By default, the datepicker select today's date. Depending on the results and my dataset, the dates might be a couple fo years back (anywhere in between 1999 and 2020).
Is there a quick way to browse through the different years on the datepicker? At the moment, I can only switch 3 months back or forward using the arrows.