Telerik Forums
UI for WinForms Forum
1 answer
401 views
Is there a way to enable selection in a readonly textbox grid cell? So a user cannot edit the text but can select part of the text?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Nov 2016
4 answers
1.2K+ views

Hello 
i want Change Change Color Border For  DateTimePicker 

i want put change color border buttom only and disable color for top,left , right 

Dimitar
Telerik team
 answered on 11 Nov 2016
1 answer
301 views

I would love to avoid having to create columns by hand, and just rely on auto generation. I know I can set a title of the column by adding a DisplayName attribute. However, when I try to set a date format, it's breaking.

Here's what I am trying to do

[DisplayName("Invoice Date")]
[DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
public DateTime? InvoiceDate { get; set; }

However, the date still displays with the time.

Also, is there a way to get a column to be hidden through attributes alone?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Nov 2016
31 answers
1.5K+ views
Hi,
I am currently trying to create controls inside a column of the grid view dynamically. My requirement is like i want to create textbox or combo box and bind it into the column depending on the condition. Is it possible to have textbox and combobox in the same column?

Can you please enlighten us with some sample code?

Thanks in advance,
Veda
Dimitar
Telerik team
 answered on 10 Nov 2016
3 answers
370 views

how can move between controls by using enter

if ((e.KeyCode == Keys.Enter) )
            {
                this.SelectNextControl((Control)sender, true, true, true, true);
            }

is not working

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Nov 2016
2 answers
1.5K+ views

I have a GridViewDateTimeColumn that I am trying to format to show only the date in the format:  "MM/dd/yyyy", but instead I get the time in the form of all zeros following the date. (see screen shot).

Property Settings:

Format:  Custom

FormatInfo: en-IN

CustomFormat:  MM/dd/yyyy

EditorType:  DateTimePicker

FilteringMode: Date

Is it possible to get rid of the time and just display the date? If so, how?

 

 

 

Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
 answered on 09 Nov 2016
4 answers
943 views
I want to be able to distinguish between different tabs using color. How can I change the tabs to look something like this?
Pavel
Top achievements
Rank 1
 answered on 09 Nov 2016
1 answer
138 views

Hi,

As you probably know, Telegram has introduced its Gaming Platform recently which supports HTML5.
I developed a WinForms application with the help of your UI for WinForms product (e.g., GridView and ...). I know that you have a product called Kendo UI which supports HTML5, too. My question is that, is it possible to build an HTML5 page using Kendo UI and then render it into Telegram? If so, how?

Actually, since Telegram supports HTML5 from now on and since your Kendo UI supports HTML5, so I want to make some HTML5 pages (Specially GridView) and load them into Telegram and users can interact with my WinForms application using their Telegram app.

I you have any idea about this, please help.

Thanks in advance.

Alex Hajigeorgieva
Telerik team
 answered on 09 Nov 2016
3 answers
170 views
Hi,

I am having troubles with the DropDownList. I have bound the "SelectedValue"-property of the DropDownList to an int:
myDropDownList.DataBindings.Add("SelectedValue", this, "myID", false, DataSourceUpdateMode.OnPropertyChanged);

When typing something in the DropDownList everything is OK. But I a remove the typed Text I get a very strange exception:

System.ArgumentException was unhandled
  Message=Object of type 'System.DBNull' cannot be converted to type 'System.Int32'.
  Source=System
  StackTrace:
       at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
       at System.Windows.Forms.BindToObject.SetValue(Object value)
       at System.Windows.Forms.Binding.PullData(Boolean reformat, Boolean force)
       at System.Windows.Forms.Binding.Target_PropertyChanged(Object sender, EventArgs e)
       at Telerik.WinControls.UI.RadDropDownList.OnSelectedValueChanged(Object sender, Int32 newIndex, Object oldValue, Object newValue)
       at Telerik.WinControls.UI.RadDropDownList.element_SelectedValueChanged(Object sender, ValueChangedEventArgs e)
       at Telerik.WinControls.UI.RadDropDownListElement.OnSelectedValueChanged(Object sender, ValueChangedEventArgs e)
       at Telerik.WinControls.UI.RadDropDownListElement.NotifyOwner(PopupEditorNotificationData notificationData)
       at Telerik.WinControls.UI.PopupEditorElement.listElement_SelectedValueChanged(Object sender, EventArgs e)
       at Telerik.WinControls.UI.RadListElement.OnSelectedValueChanged(Int32 newIndex)
       at Telerik.WinControls.UI.RadListElement.OnSelectedIndexChanged(Int32 newIndex)
       at Telerik.WinControls.UI.RadListElement.SetSelectedIndex(Int32 value)
       at Telerik.WinControls.UI.RadDropDownListElement.set_SelectedIndex(Int32 value)
       at Telerik.WinControls.UI.RadDropDownListElement.OnTextChanged(RadDropDownListEditableAreaElement sender, EventArgs args)
       at Telerik.WinControls.UI.RadDropDownListElement.NotifyOwner(PopupEditorNotificationData notificationData)
       at Telerik.WinControls.UI.RadDropDownListEditableAreaElement.textBox_TextChanged(Object sender, EventArgs e)
       at Telerik.WinControls.RadItem.OnTextChanged(EventArgs e)
       at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
       at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
       at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
       at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
       at Telerik.WinControls.RadObject.OnTwoWayBoundPropertyChanged(PropertyBinding binding, Object newValue)
       at Telerik.WinControls.PropertyBinding.UpdateSourceProperty(Object newValue)
       at Telerik.WinControls.RadPropertyValue.SetLocalValue(Object value)
       at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
       at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
       at Telerik.WinControls.UI.RadTextBoxItem.TextBoxControl_TextChanged(Object sender, EventArgs e)

Can anybody help?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Nov 2016
5 answers
189 views

Hello,

I have a chart which display will should display timeserie data which could vary from a few point to hunderds. And of course the chart could be resized. In some this end up in an unreadable chart with too much tick label (or not enough).

It will be great if the chartview control could be able to update automatically the MajorTickInterval to prevent this. Just like the chart in Excel !

I attach two screenshot (one of the ChartView, one of Excel) to illustrate.

Hristo
Telerik team
 answered on 08 Nov 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)
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
CheckedDropDownList
ProgressBar
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
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?