Telerik Forums
UI for WinForms Forum
2 answers
161 views
Hi,
When modifying the value in the column, eg "Start", I need the control that supports entering the date to be displayed in the ShortDateString mode.
I tried to capture a control in the ControlAdded event, but I am capturing the HostedTextBoxBase, not the DateTimePicker.

 


    Private Sub RadGanttView1_ControlAdded(sender As Object, e As ControlEventArgs) Handles RadGanttView1.ControlAdded
        Dim startDate As Date = RadGanttView1.SelectedItem.Start
        e.Control.ResetText()
        e.Control.Text = startDate.ToShortDateString
    End Sub


How can I change the date input format to Short?

Regards
Jack

 

Jacek
Top achievements
Rank 2
Iron
Iron
Iron
 updated answer on 26 Jul 2022
1 answer
151 views

Where can I find the foreground and background colors for the items displayed in a raddropdownlist ?

Example:

These are the items that appear when you click the arrow for the dropdown list.  I don't want to set this programmatically (unless there is no other way), but I can't seem to find the correct place to edit these in the Visual Style Builder.

Again, this is when you click the arrow and see the items in the list to choose from.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jul 2022
1 answer
290 views

Hello.
I am studying using the trial version to apply Telrik UI for Winform to my project.
I've tried various things to apply the theme, but only the fluent theme doesn't work. The fluent dark theme or other themes will work just fine.
All versions are 2022.2.622.40.

And, there are always two versions, 2022.2.622.20 and 2022.2.622.40, but I did not install version 20. May I know why?
(I'm using Fiddler.)

 

Thank you.

BooKyung Oh.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jul 2022
1 answer
165 views

Hello everyone!

I have a RadRichTextEditor with Context Menu enabled. On that menu is a button called 'Font...' and it takes you to a Font Styles window where you can change basically all the font settings.

It also has a spot to do several different styles of underline (wave, dot-dashed, dot-dot-dashed, etc). However, for my purposes the only underline that will work is the default one (like this).

Is there a way that I can modify this pop up so I can remove groups as I want?

I've included a picture of the window I'm referring too, with the section I want to hide marked.

Thank you!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Jul 2022
0 answers
114 views

HI,

I use the RadLayoutControl  on WinForm environment。

I had tried many times to adjust layout ,and it can not get consistent layout which is load by the same xml file between Customize Layout Mode loading and Programing loading。

Is it existed for any porperty or methd to set the layout to be consitent  between Customize Layout Mode loading and Programing loading ? thank a lot !

ck
Top achievements
Rank 1
 asked on 25 Jul 2022
1 answer
202 views
How to directly print radgridview to Telerik  report viewer
José Antonio
Top achievements
Rank 2
Iron
 answered on 22 Jul 2022
2 answers
440 views

Hello,

I have a question concerning the HTML export of the rich text editor.
I have a button where clicking on it will insert a span with the readonlyrange into my rich text editor.

My problem is when I'm trying to export it to HTML string to save it in DB I don't see my span with any special property to say that there is a readonlyrange attached to it.

Is there some way to get it when exporting into HTML format or can I export other field on the span such as the Tag property?
I would like some way when exporting into HTML that my span have some unique property to identify that this is a special read only span

Thank you.

Best regards.

Kevin
Top achievements
Rank 1
Iron
 answered on 21 Jul 2022
2 answers
102 views

In my UI I have a RadChartView, holding some ChartSeries; (in my specific case this is a PolarChart holding a PolarPointSeries).

I have an event which triggers when the user clicks one of the points in this series.

void chart_SelectedPointChanged(object sender, ChartViewSelectedPointChangedEventArgs e)

Using this event, I wish to change the graphical styling of the point that the user selects, at the moment it is selected.

 

It is straightforward to attain the DataPoint that is clicked by the user via

e.NewSelectedPoint;
It is also straightforward to attain the collection of UIChartElements in the plotted series, via
e.NewSelectedSeries.Children;

I can edit the style of any of these plotted UIChartElements, e.g. setting the first one to some image:

e.NewSelectedSeries.Children[0].BackgroundShape.Image = new System.Drawing.Image("MyImage.png");

 

 

I then expected I could edit the graphical styling of the particular point selected by the user using the index of the selected DataPoint:

e.NewSelectedSeries.Children[e.NewSelectedPoint.Index].BackgroundShape.Image = new System.Drawing.Image("MyImage.png)

However, the resulting UIChartElement (e.NewSelectedSeries.Children[e.NewSelectedPoint.Index]) does not correspond to the selected DataPoint (e.NewSelectedPoint); it instead corresponds to one of the other DataPoints in the series.

It appears as though the indexing of e.NewSelectedPointSeries.Children does not correspond to the indexing of e.NewSelectedPoint.DataPoints.

Have I misunderstood the API? Is there a better way of accessing the UIChartElement corresponding to a selected point?

 

For the record, the attempted approach I outline above works correctly with a previous release of Telerik UI for WinForms (2018.1.116.40), but does not work upon upgrading to a newer version (2018.3.1016.40).

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jul 2022
1 answer
161 views

I created the ViewDefinition value of RadGridView using HtmlViewDefinition, and I want to give the Pinned property to the first, second, and third columns.
However, the result is created by duplicating three columns as in the screenshot.

How to fix it?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jul 2022
1 answer
140 views

hi, i use imageEditor  in my winform application, when i run application and try to use crop image with imageEditor the accept and cancel button doesn't shown... like attached picture. please help.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jul 2022
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
ProgressBar
CheckedDropDownList
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
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?