Telerik Forums
UI for WinForms Forum
14 answers
2.1K+ views
Hi,

I have a Grid with a number of read only columns and two editable columns and would like the ENTER key and TAB key to behave the same when editing data..

When I am editing a value in a cell and press TAB, focus skips over any read only columns in the row and moves to the next editable column. When I TAB off that, focus moves to the first editable column of the next row. This is desired behaviour.

When I am editing a cell and press ENTER though, focus moves to the next column whether it is read only or not. I have set EnterKeyMode to NextCell.

Is there any way to simulate the tab behaviour when the Enter Key is pressed?

Thanks,

Mark.
Yeepy
Top achievements
Rank 1
 answered on 28 Jul 2019
5 answers
269 views

Hi!

Is there a way to cancel a loading because I have issues with loading certain files (big or complex one) and trying to load others files while is loading is just worst.

Thanks!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Jul 2019
17 answers
920 views
In fact the question is in the thread name. :) I couldn't find any information about how to do it. The only thing I found is that Grid Caption Text is not what I'm looking for.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Jul 2019
2 answers
385 views

Hello,

Is it possible to add labels to points in a ScatterLineSeries? I've been able to add labels to CategoricalDataPoints but not ScatterDataPoints. I noticed that on https://docs.telerik.com/devtools/winforms/controls/chartview/series-types/series-types there are labels for Line, Spline, Area, and SplineArea series, but not for Bar or Scatter.

I added a custom LabelFormatting event that gets called when I use a LineSeries with CategoricalDataPoints, but it doesn't run when I use a ScatterLineSeries with ScatterDataPoints. Here's some sample code I tested (in OpenEdge) and a screenshot of my results:

LabelFormatting method:

METHOD PRIVATE VOID myLabelFormatting(INPUT sender AS System.Object, INPUT e AS ChartViewLabelFormattingEventArgs):
   e:LabelElement:BackColor = System.Drawing.Color:White.
   e:LabelElement:ForeColor = System.Drawing.Color:Black.
   e:LabelElement:BorderColor = System.Drawing.Color:Black.
   e:LabelElement:Font = NEW Font("Segoe Script", 12, FontStyle:Regular).
   DEFINE VARIABLE element AS CartesianLinePointElement NO-UNDO.
   MESSAGE "Casting element..." VIEW-AS ALERT-BOX.
   element = CAST(e:LabelElement:Parent, CartesianLinePointElement).
    
   DEFINE VARIABLE dataPoint AS ScatterDataPoint NO-UNDO.
   MESSAGE "Casting point..." VIEW-AS ALERT-BOX.
   dataPoint = CAST(element:DataPoint, ScatterDataPoint).
    
   e:LabelElement:Text = STRING(dataPoint:XValue) + ", " + STRING(dataPoint:YValue).
END METHOD.

 

Sample code:

THIS-OBJECT:radChartView1:LabelFormatting:Subscribe(myLabelFormatting).       
 
DEFINE VARIABLE lineSeries AS ScatterLineSeries NO-UNDO.
lineSeries = NEW ScatterLineSeries().
lineSeries:DataPoints:Add(NEW ScatterDataPoint(1, 10)).
lineSeries:DataPoints:Add(NEW ScatterDataPoint(15, 15)).
lineSeries:DataPoints:Add(NEW ScatterDataPoint(5, 20)).
lineSeries:PointSize = NEW SizeF(8, 8).
lineSeries:ShowLabels = TRUE.
radChartView1:Series:Add(lineSeries).
 
radChartView1:BackColor = System.Drawing.Color:LightGray.
radChartView1:ShowLegend = TRUE.

 

Thanks,

Adam

Adam
Top achievements
Rank 1
 answered on 25 Jul 2019
2 answers
185 views

Using code similar to this, is it possible for me to set the Layout Configurator to one of the options like "Default"? I'm not sure what I'd use for "doubleBufferedTableLayoutPanel1" or "filterDropDownList".

AddHandler Me.RadSaveFileDialog1.SaveFileDialogForm.Shown, AddressOf SaveFileDialogForm_Shown     
     
Private Sub SaveFileDialogForm_Shown(sender As Object, e As EventArgs)
        Dim dropDown As RadDropDownList = TryCast(Me.RadSaveFileDialog1.SaveFileDialogForm.Controls("doubleBufferedTableLayoutPanel1").Controls("filterDropDownList"), RadDropDownList)
        dropDown.SelectedIndex = 0
End Sub

 

Jeff
Top achievements
Rank 1
 answered on 25 Jul 2019
6 answers
132 views

I have Winform 2015 Q3 1104, I was on 933 and since the update, I can't open Property Builder on a GridView if there is a sort descriptor on it. I can remove it with the sort descriptions data operation, but if I add one again, I can't open the Property Builder.

It does the same on every radgridview in my project.

 

 

Dimitar
Telerik team
 answered on 25 Jul 2019
2 answers
342 views
I have One  RadGridView. In My radGridview there are two Combobox columns like Country and State.
When I Change Country that time State will have to change.
Shanti 😎
Top achievements
Rank 2
Veteran
 answered on 24 Jul 2019
1 answer
176 views

Is there a way to keep the ribbonbar tab selected when the ribbon is collapsed?  I am want to achieve the pageview's tabbing and page switching features along with the ribbonbar's ribbon formatting.  If collapsed, the ribbonbar doesn't appear to have a SelectedCommandTab value present.  I need to keep this property and the appearance of a selected tab when the ribbon bar is collapsed.

Is this possible, or is there a better solution?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jul 2019
2 answers
567 views

Hello

I know that this question has been discussed many times, I have tried various solutions but I have a strange behavior that I can not correct.

I use a 4K 3840x2160 monitor, Visual Studio 2015, .net 4..7

I have a fairly large WinForms project with many forms and user controls.

In the development environment some of the forms or user controls are displayed in "readable" font sizes and other forms or user controls are displayed in very small fonts.

I set the autoscale property of the form to DPI and I set it to inherit to the use controls - I have tried to change this propertx to other values without any visible change.

I trust that the "final" application used on normal resolution displays (1920x1080 or smaller) will work properly but in teh develpment environment it's very uncomfortable to work with very small fonts.

Is there something I can do to correct this abnormal behavior ?

Thanks in advance

Pierre-Jean

 

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 24 Jul 2019
18 answers
2.1K+ views

Is there a way to control a column header foreground and background individually? Meaning only change one the column headers to a different color text and background? i'm using GridViewTextBoxColumn in WinForms version 2012.2.912.40

Thanks

Dimitar
Telerik team
 answered on 24 Jul 2019
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
ScrollablePanel
DataEntry
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
SmartPasteButton
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?