Telerik Forums
UI for WinForms Forum
1 answer
728 views

When a user changes their screen scaling either by resolution or DPI settings the following works for native windows controls but not for Telerik -- why is this?

 

            this.AutoScaleMode = AutoScaleMode.None;
            foreach (Control c in Controls)
            {
                c.Font = new Font("Segoe UI", 9);
            }

Thanks in advance

Hristo
Telerik team
 answered on 07 Apr 2016
25 answers
2.8K+ views
How do I set the selected item (without using the index) from code? With combo box I just set SelectedItem to a string containing one of the items. I don't seem to be able to do that with DropDownList?

Steve
Vitaly
Top achievements
Rank 1
 answered on 07 Apr 2016
2 answers
414 views

I am using the WinForms 2016 version.

I have discovered that selecting the first item in the combobox in code is not calling the SelectedIndexChanged of the same control.

<b>mcc_Scaffold_Tag.SelectedIndex = 0 </b>

 

Am I using the right event?

 

 

 

 

 

Speedy
Top achievements
Rank 1
 answered on 06 Apr 2016
5 answers
152 views
Hi,

I have a grid with 3 Cols: Player, Team, Points.
When I group to Teams, it sums the point from each player to the team result.

Now i want the best team on the first group and so on.

How can I do that?

Greetings

Konrad
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2016
3 answers
163 views

Hi,

how to Group by Day and not by Resource?

Is there a way to do that?

We like to have a "DayView" where all Resources are listed at one Day/Date.

 

Regards

Hardy

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2016
3 answers
175 views

Hi

I'm using a RadOffice2007ScreenTipElement with a RadTreeView, showing it using ScreenTipNeeded and everything is working as expected.

I do have a slight issue - if i start to Drag&Drop, the screen tip will remain visible the whole time (and block my view of other tree elements). I haven't been able to make it disappear. Is there a way to manually remove a screentip while the TreeView is still pressed/active (due to dragging)? 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Apr 2016
4 answers
246 views

I am trying to create a treeview with hierarchical structure.

CIK

|__Series

      |__Class 

Series will be populated from the database based on the currently selected CIK value member(Id). Class will be populated from the database based on the Series ID selected. 

I couldn't find the right sample in the documentation to do this. Please point me in the right direction. Thank you for your help. 

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

I'm trying to implement a sample like this here

http://docs.telerik.com/devtools/winforms/gridview/cells/creating-custom-cells

In Progress OpenEdge. Unfortunately the ABL does not support overriding of properties, so I cannot achieve this here:

 

 protected override Type ThemeEffectiveType

{

    get { return typeof(GridDataCellElement);}

}

 

Is there any other way of inheriting the style from the base element type?

Mike
Top achievements
Rank 1
 answered on 05 Apr 2016
1 answer
256 views

I am looking to be able to change the structure of the parent child relationship in a self-referencing hierarchy without losing the currently expanded hierarchy not related to the rows/nodes being removed and replaced.

I successfully have the ParentId and Id relationship displaying as a hierarchy in the grid view by using a BindingList<RowItemWithParentChildRelationship> bound to the DataSource of the RadGridView property.

However when I remove the old rows/nodes that no longer apply and then add the new rows/nodes (to the BindingList<>) to be displayed the radgrid control only displays the old rows being removed and not the new rows that have subsequently replaced the old structure without offering the ability to expand into the new structure.

Am I missing a trick to reparse the hierarchy (without losing the entire expand context) and display the newly added items in the hierarchy?

I can update the DataSource property which off course rebuilds all rows and loses the currently expanded tree but if it is at all possible to avoid this it will make for a much better user experience.

Digging around the available properties of RadGridView I've tried calling,

radGridView.MasterTemplate.HierarchyDataProvider.Refresh();

which I had hoped would reparse the bound data into the tree structure and offer the expansion into the replaced children of the parent node in question but to no avail.

Many thanks in advance.

Hristo
Telerik team
 answered on 05 Apr 2016
3 answers
573 views

Hi,

No matter what I set a radTextBox cursor to, whenever the mouse enters the controls it is always an IBeam.

Is this a bug in the control?

I've set it at design time (Cursor = Arrow) in the control properties and I've also tried setting it at runtime on Mouse_Enter etc, but it is always an IBeam. When the textbox is read only I want it to be an Arrow.

Any suggestions folks?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Apr 2016
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?