Telerik Forums
UI for WinForms Forum
7 answers
222 views

I'm new to the Virtual Grid. I can't seem to figure out how to allow the user to reorder the columns. Because the columns are built based on the OnCellValueNeeded event, I assume the reordering will have to be done here. But how can I show the dragging of a column and detect where it was dropped?

Hristo
Telerik team
 answered on 29 Dec 2016
4 answers
258 views

Hello,

I am trying to implement a hide/show option on column. For now, I implemented a contextual menu option to do it and as a workaround I set column size to 0 to hide it but it leads to weird display (cf attached image (with 10 hidden columns)). Do you know a better workaround to avoid this display ?

 

Regards,

Amand

Hristo
Telerik team
 answered on 28 Dec 2016
1 answer
152 views

I am working on a template editor, so I have a simple layout with a RadGridView on the left, and a RichTextEditor on the right. When the row gets changed, I load a template into the the RichTextEditor. The editor is readonly (the template is edited in a different window). How can I change the zoom level to automatically show two full pages.

 

Here's what I have when I load the template the first time http://i.imgur.com/a8vyyov.png
And here's what I can see when I hold ctrl and use the mousewheel to zoom in 1 level. http://imgur.com/angvElk.png
I am looking for something in the middle, where I can see 2 pages, and it takes up 100% of the space available.

Thanks!

Hristo
Telerik team
 answered on 28 Dec 2016
1 answer
248 views

I am adding a new tab to the RichTextEditorRibbonBar like this:

var lblTempalteName = new RadLabelElement() {
    Text = "Template Name:",
    AutoSize = false,
    Size = new Size(120, 20)};
var tbxTemplateName = new RadTextBoxElement() {
    Size = new Size(100, 25),
    Padding = new Padding(2) };
var templateNameGroup = new RadRibbonBarButtonGroup();
templateNameGroup.Items.AddRange(new RadItem[] { lblTempalteName, tbxTemplateName });
 
var lblDataSource = new RadLabelElement() {
    Text = "Data Source:",
    AutoSize = false,
    Size = new Size(120, 20)};
var ddlDataSource = new RadDropDownListElement() {
    Size = new Size(100, 25),
    DropDownStyle = RadDropDownStyle.DropDownList };
var dataSourceGroup = new RadRibbonBarButtonGroup() { Margin = new Padding(0, 3, 0, 0) };
dataSourceGroup.Items.AddRange(new RadItem[] { lblDataSource, ddlDataSource });
 
var rbgProperties = new RadRibbonBarGroup()
{
    Text = "Properties",
    Orientation = Orientation.Vertical
};
rbgProperties.Items.AddRange(new RadItem[] { templateNameGroup, dataSourceGroup });
 
 
var templatePropertiesTab = new RichTextEditorRibbonTab() { Text = "Template properties", IsSelected = false};
templatePropertiesTab.Items.Add(rbgProperties);
 
richTextEditorRibbonBar1.CommandTabs.Add(templatePropertiesTab);

The tab that I am adding becomes selected, which isn't what I want. How do I ensure that the "Home" tab is selected. Here's what I tried, but it doesn't work.

foreach (RibbonTab item in richTextEditorRibbonBar1.CommandTabs)
{
    item.IsSelected = (item.AccessibleName == "Home");
}
richTextEditorRibbonBar1.Refresh();
Lance | Senior Manager Technical Support
Telerik team
 answered on 27 Dec 2016
2 answers
69 views
Can themes be viewed and purchased by other vendors that can be used with the Telerik UI?  In particular, I like the theme used with ADOBE Photoshop...can this be purchased?

 

Dave

David
Top achievements
Rank 1
 answered on 27 Dec 2016
5 answers
481 views

Hi,

I'm playing around with DPI awareness. Most things scale as expected (the grid for example) but it seems to me that the Treeview does not size the items according to the Font (the font scales as I would expect but gets truncated, the height of the listitems seems to be unchanged). What am I missing?

Regards

Erwin

Hristo
Telerik team
 answered on 27 Dec 2016
2 answers
205 views

I have just downloaded the WinForms UI (30 Day Free Trial) and have been experimenting with the Carousel.  First, I want to use a background image in the Carousel or the Form; how do I turn off the gradient used in the carousel.  I tried setting backcolor to transparent with no effect.

Second, I would like to create the same layout used in one of the Telerik Demos (See attached image).  How can I accomplish this?

Last, I am using Visual Studio 2015 and I am unable to open many of the downloadable demos...including the demo for the Carousel!!!  I have spent a frustrating three hours trying to adjust settings without the correct results.

I'm not sure I want to invest in a package without available help.  I was able to view some Carousel videos on YouTube, however the information I was looking for was not mentioned.  Please help.

Dave

David
Top achievements
Rank 1
 answered on 27 Dec 2016
1 answer
92 views
Hi,
I need to create a custom user control which contains a grid and some other components, the grid is a public property of the panel.
When i drop the panel on the form and use the grid property to create columns everything is fine, but suddenly i realized the form is not generating added column's code in designer.cs, and after build there is no column left in my grid.
So, my question is how can i force form to generate the columns code?
Tnx
Dimitar
Telerik team
 answered on 26 Dec 2016
1 answer
232 views

Hello,

I was wondering if it is possible to use the Context Menu on a Line series radchartview? I want to be able to right click on a Line series within the chart and open up a context menu that corresponds to that line and I also want to be able to do the same thing on the legend except with a separate context menu.

Any ideas?

 

Thank you,

 

Erkin

Hristo
Telerik team
 answered on 23 Dec 2016
1 answer
94 views

Hi,

Aft

After experiencing a crash when pressing any alpha-numeric key on a cell containing a VirtualGridDropDownListEditor, I spotted an error in Telerik source code at file RadGridView\VirtualGrid\Input\VirtualGridInputBehavior.cs (around line 1441) :

protected virtual bool HandleAlphaNumericKey(KeyPressEventArgs keys)
{
 
    ...
 
    else if (this.GridElement.ActiveEditor is VirtualGridDropDownListEditor)
    {
        string symbol = keys.KeyChar.ToString();
        RadDropDownListEditor editor = this.GridElement.ActiveEditor as RadDropDownListEditor;
        RadDropDownListEditorElement element = editor.EditorElement as RadDropDownListEditorElement;
 
        if ((element.AutoCompleteMode & AutoCompleteMode.Append) == AutoCompleteMode.Append)
        {
         
            ...

 

The editor variable should be cast as VirtualGridDropDownListEditor

Just to let you know for next releases
Sorry if bug has already been spotted and fixed :)

Regards

Dimitar
Telerik team
 answered on 23 Dec 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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?