Telerik Forums
UI for WinForms Forum
1 answer
173 views

My range selector represents the 100% length of a running track. RangeStart represents the position of the start line, RangeEnd is represents the end.

I tried databinding to the RangeStart and RangeEnd properties of my selector but, after the initial binding get/set there didn't appear to be any further property change events when I changed the ranges.

How do I bind please?

 

radRangeSelector1.DataBindings.Add(new Binding(
  radRangeSelector1.GetMemberName(x => x.StartRange),
  bs, this.GetMemberName(x => x.StartRange),
  false, DataSourceUpdateMode.OnPropertyChanged));
radRangeSelector1.DataBindings.Add(new Binding(
  radRangeSelector1.GetMemberName(x => x.EndRange),
  bs, this.GetMemberName(x => x.EndRange),
  false, DataSourceUpdateMode.OnPropertyChanged));

 


Hristo
Telerik team
 answered on 28 Mar 2018
9 answers
687 views
Hi all, 

i modified the default font of a radgridview to a bigger one (design, property Font.Size) and now when i enter in edit mode on textboxcell 
the text itself keep the same font size, but the textbox is smaller and cut bottom of text out (see attached pictures).

Does anybody knows how to fix it please?
Am i using the correct way to change the font?

Thanks 

Nino
J
Top achievements
Rank 1
 answered on 28 Mar 2018
0 answers
100 views
I want to use your item. But I need a DateTimePicker of such a plan. Could not find how to do it with you.
Help, thank you.
Вадим
Top achievements
Rank 1
Iron
Iron
 asked on 27 Mar 2018
8 answers
2.1K+ views
I have a multi-column combo box which is populated via a LINQ query to an entity in my context

 //Grab the data from the table specified in the Model project
                    var query = from i in db.ItemTypes.AsNoTracking()
                                where i.Active == active
                                orderby i.Code

                                //This allows a switch between the ITNBR and the Description
                                select new { i.ID, i.Code, i.Description };

                    if (query.Count() > 0)
                    {
                        //Now we can bind the results to the control
                        cbo.DataSource = query.ToList();
                        cbo.ValueMember = "ID";
                    }

Which works fine and the data is populated correctly. I have used similar to populate other multicolumn combos elsewhere too.

As the form is instanciated the selected index is set to -1
The problem is when I go radMultiColumnComboBoxItemType.SelectedValue = 3 the SelectedValue still = null.

Any ideas folks?
Thanks.

Chris Kirkman
Top achievements
Rank 1
 answered on 27 Mar 2018
1 answer
286 views

Hi there,

 

Is there any way to select a row in RadGridView using an object as index?

 

Thank you and Regards!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Mar 2018
3 answers
506 views

Hello there, 

I meet the following issue.. I've created a custom theme in Visual Style Builder and I am trying to apply it in runtime using the following line: 

Telerik.WinControls.ThemeResolutionService.LoadPackageFile("C:/.../CustomTheme.tssp");
Telerik.WinControls.ThemeResolutionService.ApplicationThemeName = "CustomTheme";

The theme is being applied to most of the controls but not to all. I have solved this issue by subscribing to  "Telerik.WinControls.ThemeResolutionService.ApplicationThemeChanged" event and there I reset manually the properties that are not being overridden by the theme.

But I guess that it's not necessary and I am doing something wrong.

I will give an example of my issue:

If I add a new RadButton to my Form and leave its Fill.BackColor to 'Transparent', then the theme is being applied properly in runtime. But if I change its BackColor from WinForms Designer, then the theme does not override its value and needs reset in ApplicationThemeChanged event with the method: 

MyRadButton.ButtonElement.Fill.ResetValue(Telerik.WinControls.Primitives.FillPrimitive.BackColorProperty);

Any ideas?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Mar 2018
4 answers
287 views

Hello,

I need help.

I'm using a radBulletGraph.

Set BackColor1 and 2 of bulletGraphQualitativeBar1 to different colors, BrushType is gradient, GradientStyle is linear.

Gradient is from top to bottom, I want left to right, or right to left. What can I do?

 

Kind regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Mar 2018
1 answer
153 views

Hello,

how can I hide the "DragButton" or however it was called, on the left?

Kind regards

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Mar 2018
2 answers
89 views

Hello,

I am looking to set up my TreeView in such a way as to have the previously-selected node collapse when a different node at the same level is chosen. For example, if I had a tree like this:

 

RootNode

|_ NodeA

|     |_Node1

|     |_Node2

|_NodeB

|     |_Node3
|     |_Node4

 

If I choose NodeA, NodeB (if expanded) would close, and NodeA would expand. I want to do this so that the end user doesn't get lost with many nodes expanded. Any ideas?

 

Thanks,

Matt

Matt
Top achievements
Rank 1
 answered on 26 Mar 2018
1 answer
127 views
The size of the border is not the same and there is a problem.
When the outer border is 3 and the inner border is 1, the top of the border will protrude and the bottom will lack pixels.
Hristo
Telerik team
 answered on 26 Mar 2018
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?