Telerik Forums
UI for WinForms Forum
0 answers
44 views

As of 2024 Q4 (November), we will deprecate .NET 7 distribution. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.  

We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post: Product Update for Enhanced Performance and Security (telerik.com)

For more information about how to upgrade your project when a new version of the Telerik UI for WinForms suite is released, you can check here: How to Upgrade a Telerik UI for WinForms Project - Telerik UI for WinForms 

Nadya
Top achievements
Rank 1
 asked on 16 May 2024
0 answers
3 views

Create new Word-inspired project and add CommandExecuting event handler with the following code:


private void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
	if (e.Command is Telerik.WinForms.Documents.RichTextBoxCommands.SaveCommand)
	{
		e.Cancel = true;

		var newForm = new MainForm();
		newForm.Show();
	}
}

When I click on Save quick-button I expect to see new form active and in focus, but what actually happens is that new form is created, gets in focus briefly, and then the old form steals the focus. How can I fix the focus steal? I need new form to be non-modal.

In theory I should be able to do it if I call Show(this) instead of Show(), and in OnShown overload set Owner = null, but even though the active window now is the new form, the keyboard focus is still on old form (type something to see). I suspect there is some OnTimer interference. Do you have an adequate solution?

 

Mihajlo
Top achievements
Rank 1
 asked on 26 Jul 2024
3 answers
8 views

1.RadDropDownList:

  • How can I change the color of the RadDropDownListArrowButtonElement when the mouse triggers the radDropDownList control? I have not been able to find a way to modify this color.I try my best to solve it ,but it works not well.

  • How can I change the color of the dropdown content when the mouse hovers over it? I have also not been able to find a way to modify this color.

  • How can I remove the white shadow under the downward triangle? I want it to be entirely black without any white shadow.

2.RadSpinEditor:

When I use RadSpinEditor, I have the same questions in it.

  • How can I change the color of the dropdown content when the mouse hovers over it?

  • How can I remove the white shadow under the downward triangle?

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 25 Jul 2024
1 answer
9 views

Where are located the .tssp files for the current version of the Telerik controls for Winforms?

Nadya | Tech Support Engineer
Telerik team
 answered on 22 Jul 2024
1 answer
6 views

Hi,

is there a way to skip non-editable columns when I use "Tab" key to navigate the cells in WinfForms VirtualGrid?

I saw that for Kendo UI there is a solution (https://docs.telerik.com/kendo-ui/knowledge-base/grid-tabkey-navigation-exclude-noneditable-columns) but I cannot find anything for WinForms VirtualGrid.

Thank you very much.

Emanuele

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Jul 2024
2 answers
19 views
Hi,
    I want to add filter for only one column with the value of "Verification" , "Export" and "Done". so how to add this filter in rad grid. Can add dropdownlist in order show 3 values and filter by any one value chosen by end user 

Regards
Aravind
Aravind
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 17 Jul 2024
1 answer
12 views

Hi

 I’m using WinForms RadDock implementing a host and a bunch of DocumentWindow tabs.

The issue I’m having is setting the undocked floating window text so that the window shown in the Taskbar displays the text set, I'm getting the taskbar entry but it's always blank. I’ve tried a few approaches and none are successful. See code below.

private void MainDockHost_FloatingWindowCreated(object sender, FloatingWindowEventArgs e)
{
	//	first attempt
	e.Window.Text = "First Window";

	//	second attempt
	CustomFloatingWindow customWindow = new CustomFloatingWindow(MainDockHost);
	e.Window = customWindow;
	customWindow.Text = "Second Window";

	//	third attempt
	HostWindow hostWin1 = e.Window.Parent as HostWindow;

	if (hostWin1 != null)
	{
		hostWin1.Text = "Third Window";

		if (hostWin1.FloatingParent != null)
		{
			hostWin1.FloatingParent.Text = hostWin1.Text;
		}
	}

	//	forth attempt
	HostWindow hostWin2 = customWindow.Parent as HostWindow;

	if (hostWin2 != null)
	{
		hostWin2.Text = "Forth Window";

		if (hostWin2.FloatingParent != null)
		{
			hostWin2.FloatingParent.Text = hostWin2.Text;
		}
	}
}

As I’m using a document window I understand a floating window is created with the document window inside it. The two HostWindow attempts in the code both result in a null.

 

Any help with this would be appreciated.

Thanks

Miles


Nadya | Tech Support Engineer
Telerik team
 answered on 17 Jul 2024
1 answer
8 views

Hi,

When I "left click" on a header of a page, the page is changed before I release the mouse click.

Also, when right clicking it's selecting/unselecting a page, it looks strange.

Before I override many things, how would you do to change this behavior in a clean way? We won't deactivate right-click because we do have context menu to save the opening tab on new view show.

Thanks a lot in advance!

Simon

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Jul 2024
1 answer
14 views

Hi everyone,

I'm currently working with the RadRichTextEditor control in my C# WinForms application, and I need to customize the colors of the slide and background bar. Could someone guide me on the steps to change these colors? Additionally, if there's a way to achieve this directly through code, I'd greatly appreciate it if you could share a code snippet.

Thank you in advance for your help!

Best regards,
Kevin

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Jul 2024
1 answer
13 views

Hi,

I saw that in GridView you can create a group for the column header (https://docs.telerik.com/devtools/winforms/controls/gridview/view-definitions/column-groups-view).

Is it possible to have the same feature in VirtualGrid?

I need something similar in the attached image. Just a simple group description without additional filters.

Thank you very much.

 

Emanuele

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Jul 2024
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
ContextMenu
Spreadsheet
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
SpinEditor
CheckedDropDownList
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
PictureBox
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Michael
Top achievements
Rank 2
Iron
Wilfred
Top achievements
Rank 1
Alexander
Top achievements
Rank 2
Iron
Iron
Matthew
Top achievements
Rank 1
Iron
ibra
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Michael
Top achievements
Rank 2
Iron
Wilfred
Top achievements
Rank 1
Alexander
Top achievements
Rank 2
Iron
Iron
Matthew
Top achievements
Rank 1
Iron
ibra
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?