How do I remove the symbol (up arrow) to Collapse/Expand a Group in a GridView
I want the groups to always show and always be expanded to show all items.
Thanks for any help provided!
Hi,
Let me describe my use case in these following steps:
Please see the output from the attachment: InsertTextOnCurrentCaretPosition_UI_1.0.PNG
Code below, is the method of insertion of readonly span
public void InsertTextOnCurrentCaretPosition()
{
// Creating and setting span
Span readOnlyContent = new Span("Inserted text");
readOnlyContent.ForeColor = Color.FromRgb(255, 255, 0); // Yellow
// Get the position of the current caret
DocumentPosition caretPosition = new DocumentPosition(radRichTextEditor.Document.CaretPosition);
caretPosition.AnchorToCurrentBoxIndex();
// Insert the span
radRichTextEditor.Document.Selection.Clear();
radRichTextEditor.InsertInline(readOnlyContent);
// Get the position of the current caret after inserting the span
caretPosition.RestorePositionFromBoxIndex();
DocumentPosition endCitation = radRichTextEditor.Document.CaretPosition;
// Select the span by caret positions and insert as read only
radRichTextEditor.Document.Selection.AddSelectionStart(caretPosition);
radRichTextEditor.Document.Selection.AddSelectionEnd(endCitation);
radRichTextEditor.InsertReadOnlyRange();
radRichTextEditor.Focus();
}
After the insertion of the readonly span, I key-in 3 letter "a" and expected the fore color would be Black, but it seems it retained the color (Yellow) of the readonly span. As you can see on this attachment: InsertTextOnCurrentCaretPosition_UI_1.1.PNG
Is there a way to set/reset the fore color to Black after the readonly span? so that the key-in values would be in color Black
Code below, I tried setting the fore color to Black right after the InsertReadOnlyRange, but it changes the fore color of the 2nd word "text" of the readonly span as you can see on this attachment: InsertTextOnCurrentCaretPosition_UI_2.0.PNG
public void InsertTextOnCurrentCaretPosition()
{
// Creating and setting span
Span readOnlyContent = new Span("Inserted text");
readOnlyContent.ForeColor = Color.FromRgb(255, 255, 0); // Yellow
// Get the position of the current caret
DocumentPosition caretPosition = new DocumentPosition(radRichTextEditor.Document.CaretPosition);
caretPosition.AnchorToCurrentBoxIndex();
// Insert the span
radRichTextEditor.Document.Selection.Clear();
radRichTextEditor.InsertInline(readOnlyContent);
// Get the position of the current caret after inserting the span
caretPosition.RestorePositionFromBoxIndex();
DocumentPosition endCitation = radRichTextEditor.Document.CaretPosition;
// Select the span by caret positions and insert as read only
radRichTextEditor.Document.Selection.AddSelectionStart(caretPosition);
radRichTextEditor.Document.Selection.AddSelectionEnd(endCitation);
radRichTextEditor.InsertReadOnlyRange();
// Change the color of the editor back to black
radRichTextEditor.Document.Selection.Clear();
radRichTextEditor.ChangeTextForeColor(Color.FromRgb(0, 0, 0)); // Black
radRichTextEditor.DocumentInheritsDefaultStyleSettings = true;
radRichTextEditor.Focus();
}
Hi
I would like to create charts programmatically and display them in a table of two columns (like the attached photo) and and be able to drag and drop the displayed charts to change their locations. Is there a way to do this using the UI components for WinForms?
This happens for all my WinForms applications.
Any idea?
Thank you all!
Philippe
Hello,
I am using the DataEntry component along with the DisplayName attribut.
However, at run time, I don't a way to fetch the original name (from the model class) as the Text field contains substitute the DisplayName to the original one.
Apparently the control Name field is always empty. Couldn't you use it to store the control name ?
Regards
Patrick
Hi,
What tagger would be best to identify elements contained in double-curly-braces? Change the forecolor of the curly braces to yellow and the word or syntax between them to orange? Also is there a way to iterate through all elements that were tagged?
Thanks
Hello,
When I open a form with Telerik component on it, it is not possible to select it anymore.
No problem with "standard" controls. Only Telerik controls are causing this issue. I have a RadGridView and a RadColorBox.
Any idea?
Thank you!
Philippe
Creating a RadChartView, both with a single series and multiple series for a DateTimeCategorical axis. Some series have gaps (null values). I'd like the series to close up this gap in the line, connecting the two data points. I cannot find an option to do so. See the datagap.png and datagap2.png attachments for an example.
Some workarounds I've tried is to not add a data point at all for that date when the value is null, but then then that date doesn't show up in the category. See datagap3.png for an example.
Is there a setting to close this gap in the line, or am I using the wrong chart or series type?
After installing the new WinForms update. I load my project but the RadForm opened with an error. The captured error is attached.