Telerik Forums
UI for WinForms Forum
1 answer
116 views

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!

Dinko | Tech Support Engineer
Telerik team
 answered on 23 Sep 2022
1 answer
131 views
I am working on a project with "UI for WinForms R2 2022 SP1 (version 2022.2.622)" and I am facing an issue on all my RadLebels!!! If I use HTML-Like text they look like this...



Any idea why is this happening?

Thank you for your time!!!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Sep 2022
1 answer
176 views

Hi,

Let me describe my use case in these following steps:

  • created a RadRichTextEditor 
  • set the RadRichTextEditor text to "This is a sample"
  • set the cursor before the letter "s" from the word "sample"
  • created a readonly span and set the fore color to Yellow
  • inserted the readonly span "Inserted text" before the word "sample"

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();
}

Dimitar
Telerik team
 answered on 22 Sep 2022
1 answer
159 views

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?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Sep 2022
2 answers
215 views
  • Visual Studio 2019
  • From the Bin folder of the applications, my current installed Telerik version is 2022.2.510.40
  • Applications written in C# and another VB.Net
  • I've updated each and every Telerik products from the Control Panel
  • When solution is loaded, I receive the flying windows saying that an update is available, proposing to "UPDATE NOW" or "DISMISS"
  • If I choose "UPDATE NOW", the wizard starts
  • The wizard completes in a fraction of a second, resulting in:

This happens for all my WinForms applications.

Any idea?

Thank you all!

Philippe

Petia
Telerik team
 answered on 22 Sep 2022
1 answer
145 views

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

 

 


Dinko | Tech Support Engineer
Telerik team
 answered on 21 Sep 2022
1 answer
116 views

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

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Sep 2022
2 answers
114 views

Hello,

  • Visual Studio 2019
  • Telerik version: 2022.2.510.40

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

Maria
Telerik team
 answered on 21 Sep 2022
1 answer
130 views

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?

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Sep 2022
1 answer
116 views

After installing the new WinForms update. I load my project but the RadForm opened with an error. The captured error is attached.

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Sep 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?