Telerik Forums
UI for WinForms Forum
1 answer
33 views
I add a line.
In the method UserAddingRow produce a check for correctness
if (e.Rows [0] .Cells [1] .Value == null)
             {
                 AlertOperation (new string [] {"No degree specified", "0"});
                 e.Cancel = true;
                 return;
             }

But in this case, the error pops up and the line is added bodto.
How to leave the old look or paint this cell red?
Nadya | Tech Support Engineer
Telerik team
 answered on 29 Jul 2019
1 answer
142 views

When using the detail view, the default column width is too wide. Is it possible to set the width before the dialog is shown?

I would also prefer that the column header text be left justified.

The first image shows how it looks now and the second image shows how I want it to look.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2019
3 answers
287 views

Hello,

I'm trying to implement a (Kanban style) BoardView. It's similar to CardView (grouped cards, with drag&drop functionality), but i need a custom layout method: horizontal groups (columns), and vertical items (cards). So i was trying to inherit from ListView (like a CardView), but i cant override internal methods and properties.

I want to inherit from a theme-supported class (CardView/ListView ), not directly from radControl.

Any suggestions?

Thanks!

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Jul 2019
14 answers
1.7K+ 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
173 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
689 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
245 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
88 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
70 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
241 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
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
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
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
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?