Telerik Forums
UI for WinForms Forum
1 answer
201 views

This is the strangest error, and I can't understand why it's happening, or how to fix it.

I am trying to use the RadSaveFileDialog, and it doesn't appear.

That's it.

The code is stopped at the 'ShowDialog' call, as expected, but no dialog is visible. Because it's inside the Telerik code, I can't see what's causing it to fail.

Does anyone have any ideas where to look to fix this? The old-style SaveFileDialog from Windows works just fine, but it doesn't have all the nice theming that the Telerik one does.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2023
2 answers
214 views

My application uses a global application wide theme via ThemeResolutionService.

I can view my form, buttons, grids etc in the application theme when using the visual studio designer because I load the application theme in the form constructor.

I have a button that will use a different theme called "RedButton". I can force the button to use the different theme at run time via RadThemeManager using:

myButton.ElementTree.EnableApplicationThemeName = False

myButton.ThemeName = "RedButton"

At runtime, I can see my red button. However; in the visual studio designer, the 'red button' is still using the application theme.

I don't see the ability to disable the application theme on my button in the designer.

How can I get the visual studio designer to show my 'red button' while the application theme is also loaded?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Apr 2023
1 answer
105 views

Hello,

I have a RadGridView with AutoSizeRows=True.  The last column is a GridViewCommandColumn.   The issue is that I would like the height of the "buttons" in the last column to all be the same height and not vary by row height.  In the example image below, I would like all buttons to be the same height as the button in the first row.

How I would I achieve this?

Thanks,
Todd

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Apr 2023
1 answer
141 views

Hi,

I'm trying to create a specific chart in RadChartView, where I need to have some annotations which are outside the grid area.  I thought I could extend the axis beyond what is needed and then add the annotations in the space created.   The chart will always have a minimum value of 0, so I extended the axis to -20, which works well to create the space.

However, to make it look correct I need to be able to override the rendering of the axis line, label and grid lines in order to remove the labels for negative values on the axis, and remove the grid and axis lines so the negative space doesn't appear to be part of the chart.  I've managed to do this for the labels, but cannot find an example of overriding the generation of the grid lines or axis line.

Attached is an image of where I am currently at - what I need is to remove all lines on the grid below 0 on the vertical axis.

Has anyone got an example of doing this, or something similar?

Thanks,
Neil.

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Apr 2023
1 answer
134 views

In my listview the column header text has some space on the left and right side. How can i get rid of this space ?

 

Thanks,

Kasi

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Mar 2023
2 answers
193 views

Hi,

How can I show RadDesktopAlert always on active screen?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Mar 2023
1 answer
209 views

Hi,

sorry for a very naïve question :

When using a GridViewCheckBoxColumn with subscription to both ValueChanged events and HeaderCellToggleStateChanged, if I uncheck the header checkbox, the ValueChanged event is fired for each existing (checkbox) row in the gridview.

This is not occuring when the header checkbox is checked (in which case only the HeaderCellToggleStateChanged event occurs).

How can I prevent this behavior (while still allowing two successive events if for example I uncheck the header and just after check a row checkbox).

I probably missed some doc somewhere about this ...

Thanks

Patrick

Dinko | Tech Support Engineer
Telerik team
 answered on 27 Mar 2023
8 answers
1.2K+ views
Anyone know how to do this?  I have several ribbon tabs on my ribbon bar control.  I want to automatically set focus to one of the ribbon tabs based on interaction elsewhere in my application.  There doesn't seem to be an obvious method to select one of the ribbon tabs as the currently selected one.
Yuji
Top achievements
Rank 1
Iron
 answered on 27 Mar 2023
1 answer
289 views

I'm trying to bind a set of RadRadioButtons to object properties: Here is the binding:

rbOwnOrRentOwn.DataBindings.Add("IsChecked", prevAddress, nameof(prevAddress.OwnOrRentOwn), false, DataSourceUpdateMode.OnPropertyChanged);

rbOwnOrRentRent.DataBindings.Add("IsChecked", prevAddress, nameof(prevAddress.OwnOrRentRent), false, DataSourceUpdateMode.OnPropertyChanged);

and here are the properties:

        public bool OwnOrRentOwn

        {
            get => _ownOrRentOwn;
            set
            {
                _ownOrRentOwn = value;
                OnPropertyChanged(nameof(OwnOrRentOwn));
            }
        }

        public bool OwnOrRentRent
        {
            get => _ownOrRentRent;
            set
            {
                _ownOrRentRent = value;
                OnPropertyChanged(nameof(OwnOrRentRent));
            }
        }

When I bind like this the object properties are not set when the buttons are selected/deselected.

The docs say that CheckState is one way to go but these enums are defined in System.Windows.Forms. This would mean I need to introduce the System.Windows.Forms into my business layer. Is this what I need to do or is there a better way.

This should be just a simple data binding.

Thanks

Carl

 

Dinko | Tech Support Engineer
Telerik team
 answered on 27 Mar 2023
1 answer
161 views

Hi,

I have RadGridView with image column? It is possible to filter rows by image?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Mar 2023
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?