Telerik Forums
UI for WinForms Forum
1 answer
202 views

I test the Example, Gridview , Spreadsheet.

I miss some Excel like behaviors:

Shortcut to delete the cell content. The Del Key delete a whole row, but in Excel it clear a cell.

I see, there exists a context menu Clear Value. Can I assigne the Del Key to this action?

Can I fill down a value from a cell to the selected cells below? The Excel shortcut is Ctrl+<

Also not work: Copy one cell content to clipboard. Select many cells, paste the value to all cells in the selection.

Or enter a value to all selected cells?
In Excel select many Cells, Enter text, press Ctrl+Enter to aply for all Cells.

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Apr 2016
10 answers
224 views
Hi, is possible to use a hierarchical grid and define custom columns groups? I've tried but the the hierarchy does not appear, i mean, the records appears in "plain" mode.

Thanks
Carlos
Top achievements
Rank 1
 answered on 08 Apr 2016
1 answer
189 views

Hi, 

   I tried to set FontSize of a RadSplitButton in the designer, or set it in the code like: this.radSplitButton1.Font = new System.Drawing.Font(...).

   But nothing changed.

   Finally I found the way which works:   

    this.radSplitButton1.DropDownButtonElement.ActionButton.Font = new System.Drawing.Font(...).

   It's so complex just to change a Font.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Apr 2016
1 answer
214 views

Hi,

I want to use the Pan and Zoom features of the RadChartView with a continuous date time axis and a candlestick chart.

I'd like to have only a fixed number of data points visible. When more data points are shown they should be scrolling out of the view on the left or right hand side. It's all working nicely once I zoom into the chart - with the exception, that the RadChartView always tries to fit all data points into the view when the horizontal zoom factor is 1. The result is, that the data points's width is influenced by the number of data points. Regardless of the zoom factor.

Is there a way to enforce a fixed with of the Olhc data points shown on the chart - regardless of the number of data points?

Regards,

Mike 

Hristo
Telerik team
 answered on 07 Apr 2016
1 answer
176 views

Is there any easy way to get notified if the user changes the palette through the right click menu?

 

I am currently handling the ContextMenuOpening event so that I can find all of the palette menu items and add click event handler individually, but this is awkward and I was hoping for a more direct method.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2016
1 answer
390 views

I'm running into an issue with format of a datetime column when exporting to excel.

What I am trying to do is export  datetime column to excel and format as the full datetime on excel, how the various approaches i have tried do not seem to work.

I can get the export to appear to show up as a datetime by:
column.ExcelFormatString = "M/d/yyyy h:mm tt"
column.ExcelExportType = DisplayFormatType.Text;

 

The problem with this is, that when i put I put a filter on the column in excel, it only sorts alphabetically not by date.

The closest I am able to get behavior wise is this:
column.ExcelFormatString = "M/d/yyyy h:mm"
column.ExcelExportType = DisplayFormatType.Custom;

 

This allows me to sort by date, but makes the time portion 24 hr format. If I try this with "M/d/yyyy h:mm tt" it ignores the AM/PM indicator and just writes "tt" at the end.

Ideally what I would like is a away to get the datetime to show up in 12 hour format in excel ("M/d/yyyy h:mm tt") while still being able to sort by Earliest/Latest instead of Alphabetically.

Any help would be appreciated, thanks.

 



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

 

I've got some weird custom logic to implement on a text field, for which the best solution seems to be a Custom Editor using a RadDropDownListEditorElement. I want the Enter key to commit the current selection and end editing.  The default behavior when Enter is pressed is to close the Popup, but leave the editor focused in edit mode.

I tried the following (inside the Custom Editor class I defined):

radDropDownListEditorElement.KeyDown += (o, args) =>
{
    if (args.KeyCode == Keys.Enter)
    {
        var cell = parentGridView.CurrentCell;
        parentGridView.EndEdit();
        cell.ViewInfo.Refresh();
    }
};

 

This works fine if the popup is already closed (for example, by pressing Enter twice, or clicking the mouse and THEN pressing Enter).  But when the popup is open, KeyDown never gets fired.  I've tried capturing radDropDownListEditorElement.Popup.KeyDown and PopupForm.KeyDown, with no luck.  Any idea how to get keypresses when the Popup is open, or a better way to achieve this functionality?  Using a Custom Editor is required for other reasons.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Apr 2016
1 answer
715 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.7K+ 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
403 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
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?