Telerik Forums
UI for WinForms Forum
11 answers
575 views
Dear all,

We are starting this new thread to keep you informed on the progress with the RadControls for WinForms documentation in the forthcoming release. Here we will post weekly (and sometimes nightly) builds of the product documentation for the products that we are currently working on. These builds:

  1. will be complete enough for regular usage 
  2. will show the progress we are making with each new iteration
  3. for the time being will not include API Reference, but we'll provide separate monthly builds
As you will see we are doing a major rework of the WinForms documentation, bringing it to a higher level.

We are looking forward to your comments, notes and topic requests. We would like you to tell us what you like or dislike in the way we develop the help files. All your opinions will be generously rewarded with Telerik points.

Thank you in advance! Expect the first version to appear later today.


Best Regards,

The Telerik Team
Vassil Petev
Telerik team
 answered on 17 Jun 2010
1 answer
69 views
Good morning,
I'm starting with rad controls and have the following problem. I drop a radgridview control from the toolbox to the form and add columns to it but I can't see anything on the form and when I run the application I can“t see anything too.
Thanks in advanced.
Martin Vasilev
Telerik team
 answered on 17 Jun 2010
3 answers
121 views
Hi:

I have a problem when I write the word "Properties" in Rad Controls for Winforms.

Help me please.

David Santacoloma
Martin Vasilev
Telerik team
 answered on 17 Jun 2010
1 answer
175 views

Hi,

Is there a simple way to jump to the next cell when the the current cell is in edit mode and the value reaches it's maximum length?

Thanks.
Jack
Telerik team
 answered on 17 Jun 2010
1 answer
136 views
Hello,
I need to set the TextAlign property to Right for a RadMaskedEditBox (numeric mask type, mask n).
I cannot see this property in the property list in the VS2010 for the control, but I can set the value programmatically without problems.
Is that a bug in the control at design time ?

Thank you,
Vincenzo
Stefan
Telerik team
 answered on 16 Jun 2010
1 answer
111 views
Hi,
I'm using the RadScheduler by setting the RangeFactor as QuarterHour scale range. With that, there are three minute lines between the hour lines. As of now, all the lines are shown in same color, I'm trying to show the minute lines in different color than the hour lines. Are there any properties to acheive this?

Thanks in advance,
ArunDhaJ
Dobry Zranchev
Telerik team
 answered on 16 Jun 2010
6 answers
224 views
Hi,

I don't know why my last posts has been removed. There is an issue with titles and radDock. See the code below :

using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Windows.Forms;  
using Telerik.WinControls.UI;  
using Telerik.WinControls.UI.Docking;  
 
namespace radDockTest  
{  
    static class Program  
    {  
        /// <summary> 
        /// Point d'entrĆ©e principal de l'application.  
        /// </summary> 
        [STAThread]  
        static void Main()  
        {  
            Application.EnableVisualStyles();  
            Application.SetCompatibleTextRenderingDefault(false);  
            Application.Run(new MainForm());  
        }  
    }  
 
    public class ChildForm : RadForm {  
 
        public void setContent(Control control) {  
            control.Dock = DockStyle.Fill;  
            Controls.Add(control);  
        }  
    }  
 
    public partial class MainForm : RadForm {  
 
        public MainForm() {  
            InitializeComponent();  
            IsMdiContainer = true;  
            radDock.AutoDetectMdiChildren = true;  
        }  
 
        private void radButton1_Click(object sender, EventArgs e) {  
            addChildForm("One", true);  
        }  
 
        private void radButton2_Click(object sender, EventArgs e) {  
            addChildForm("Two", false);  
 
        }  
 
        void addChildForm(string title, bool one) {  
            ChildForm child = new ChildForm();  
            child.setContent(one ? (Control)new UserControl1() : (Control)new UserControl2());  
            DockWindow dockWindow = radDock.DockControl(child, DockPosition.Fill, DockType.Document);  
            dockWindow.TabStripItem.Text = title;  
        }  
    }  
    partial class MainForm {  
        /// <summary> 
        /// Required designer variable.  
        /// </summary> 
        private System.ComponentModel.IContainer components = null;  
 
        /// <summary> 
        /// Clean up any resources being used.  
        /// </summary> 
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> 
        protected override void Dispose(bool disposing) {  
            if (disposing && (components != null)) {  
                components.Dispose();  
            }  
            base.Dispose(disposing);  
        }  
 
        private void InitializeComponent() {  
            this.radDock = new Telerik.WinControls.UI.Docking.RadDock();  
            this.documentContainer1 = new Telerik.WinControls.UI.Docking.DocumentContainer();  
            this.radPanel = new Telerik.WinControls.UI.RadPanel();  
            this.radButton1 = new Telerik.WinControls.UI.RadButton();  
            this.radButton2 = new Telerik.WinControls.UI.RadButton();  
            ((System.ComponentModel.ISupportInitialize)(this.radDock)).BeginInit();  
            this.radDock.SuspendLayout();  
            ((System.ComponentModel.ISupportInitialize)(this.documentContainer1)).BeginInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radPanel)).BeginInit();  
            this.radPanel.SuspendLayout();  
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();  
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();  
            this.SuspendLayout();  
            //   
            // radDock  
            //   
            this.radDock.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(254)))));  
            this.radDock.Controls.Add(this.documentContainer1);  
            this.radDock.Dock = System.Windows.Forms.DockStyle.Fill;  
            this.radDock.DocumentManager.DocumentInsertOrder = Telerik.WinControls.UI.Docking.DockWindowInsertOrder.InFront;  
            this.radDock.Location = new System.Drawing.Point(0, 0);  
            thisthis.radDock.MainDocumentContainer = this.documentContainer1;  
            this.radDock.Name = "radDock";  
            this.radDock.Size = new System.Drawing.Size(284, 231);  
            this.radDock.TabIndex = 0;  
            this.radDock.TabStop = false;  
            this.radDock.Text = "radDock";  
            //   
            // documentContainer1  
            //   
            this.documentContainer1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(254)))));  
            this.documentContainer1.Location = new System.Drawing.Point(0, 0);  
            this.documentContainer1.Name = "documentContainer1";  
            this.documentContainer1.Size = new System.Drawing.Size(284, 231);  
            this.documentContainer1.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Fill;  
            this.documentContainer1.TabIndex = 0;  
            this.documentContainer1.TabStop = false;  
            //   
            // radPanel  
            //   
            this.radPanel.Controls.Add(this.radButton2);  
            this.radPanel.Controls.Add(this.radButton1);  
            this.radPanel.Dock = System.Windows.Forms.DockStyle.Bottom;  
            this.radPanel.Location = new System.Drawing.Point(0, 201);  
            this.radPanel.Name = "radPanel";  
            this.radPanel.Size = new System.Drawing.Size(284, 30);  
            this.radPanel.TabIndex = 1;  
            //   
            // radButton1  
            //   
            this.radButton1.AllowShowFocusCues = true;  
            this.radButton1.Location = new System.Drawing.Point(3, 3);  
            this.radButton1.Name = "radButton1";  
            this.radButton1.Size = new System.Drawing.Size(75, 23);  
            this.radButton1.TabIndex = 0;  
            this.radButton1.Text = "Form1";  
            this.radButton1.Click += new System.EventHandler(this.radButton1_Click);  
            //   
            // radButton2  
            //   
            this.radButton2.AllowShowFocusCues = true;  
            this.radButton2.Location = new System.Drawing.Point(86, 4);  
            this.radButton2.Name = "radButton2";  
            this.radButton2.Size = new System.Drawing.Size(75, 23);  
            this.radButton2.TabIndex = 1;  
            this.radButton2.Text = "Form2";  
            this.radButton2.Click += new System.EventHandler(this.radButton2_Click);  
            //   
            // MainForm  
            //   
            this.ClientSize = new System.Drawing.Size(284, 231);  
            this.Controls.Add(this.radDock);  
            this.Controls.Add(this.radPanel);  
            this.Name = "MainForm";  
            //   
            //   
            //   
            this.RootElement.ApplyShapeToControl = true;  
            ((System.ComponentModel.ISupportInitialize)(this.radDock)).EndInit();  
            this.radDock.ResumeLayout(false);  
            ((System.ComponentModel.ISupportInitialize)(this.documentContainer1)).EndInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radPanel)).EndInit();  
            this.radPanel.ResumeLayout(false);  
            ((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();  
            ((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();  
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();  
            this.ResumeLayout(false);  
 
        }  
 
        private Telerik.WinControls.UI.Docking.RadDock radDock;  
        private Telerik.WinControls.UI.Docking.DocumentContainer documentContainer1;  
        private Telerik.WinControls.UI.RadPanel radPanel;  
        private Telerik.WinControls.UI.RadButton radButton2;  
        private Telerik.WinControls.UI.RadButton radButton1;  
    }  
 
    public partial class UserControl1 : UserControl {  
        public UserControl1() {  
            InitializeComponent();  
        }  
    }  
    partial class UserControl1 {  
        /// <summary>   
        /// Variable nĆ©cessaire au concepteur.  
        /// </summary> 
        private System.ComponentModel.IContainer components = null;  
 
        /// <summary>   
        /// Nettoyage des ressources utilisĆ©es.  
        /// </summary> 
        /// <param name="disposing">true si les ressources managĆ©es doivent ĆŖtre supprimĆ©es ; sinon, false.</param> 
        protected override void Dispose(bool disposing) {  
            if (disposing && (components != null)) {  
                components.Dispose();  
            }  
            base.Dispose(disposing);  
        }  
 
        #region Code gĆ©nĆ©rĆ© par le Concepteur de composants  
 
        /// <summary>   
        /// MĆ©thode requise pour la prise en charge du concepteur - ne modifiez pas   
        /// le contenu de cette mĆ©thode avec l'Ć©diteur de code.  
        /// </summary> 
        private void InitializeComponent() {  
            this.radLabel = new Telerik.WinControls.UI.RadLabel();  
            ((System.ComponentModel.ISupportInitialize)(this.radLabel)).BeginInit();  
            this.SuspendLayout();  
            //   
            // radLabel  
            //   
            this.radLabel.AutoSize = false;  
            this.radLabel.Dock = System.Windows.Forms.DockStyle.Fill;  
            this.radLabel.Location = new System.Drawing.Point(0, 0);  
            this.radLabel.Name = "radLabel";  
            //   
            //   
            //   
            this.radLabel.RootElement.StretchHorizontally = true;  
            this.radLabel.RootElement.StretchVertically = true;  
            this.radLabel.Size = new System.Drawing.Size(150, 150);  
            this.radLabel.TabIndex = 0;  
            this.radLabel.Text = "Dock me elsewhere and the title will change. Please tell me how to keep the initi" +  
                "al one.";  
            //   
            // UserControl1  
            //   
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);  
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;  
            this.Controls.Add(this.radLabel);  
            this.Name = "UserControl1";  
            ((System.ComponentModel.ISupportInitialize)(this.radLabel)).EndInit();  
            this.ResumeLayout(false);  
 
        }  
 
        #endregion  
 
        private Telerik.WinControls.UI.RadLabel radLabel;  
    }  
 
    public partial class UserControl2 : UserControl {  
        public UserControl2() {  
            InitializeComponent();  
        }  
    }  
    partial class UserControl2 {  
        /// <summary>   
        /// Variable nĆ©cessaire au concepteur.  
        /// </summary> 
        private System.ComponentModel.IContainer components = null;  
 
        /// <summary>   
        /// Nettoyage des ressources utilisĆ©es.  
        /// </summary> 
        /// <param name="disposing">true si les ressources managĆ©es doivent ĆŖtre supprimĆ©es ; sinon, false.</param> 
        protected override void Dispose(bool disposing) {  
            if (disposing && (components != null)) {  
                components.Dispose();  
            }  
            base.Dispose(disposing);  
        }  
 
        #region Code gĆ©nĆ©rĆ© par le Concepteur de composants  
 
        /// <summary>   
        /// MĆ©thode requise pour la prise en charge du concepteur - ne modifiez pas   
        /// le contenu de cette mĆ©thode avec l'Ć©diteur de code.  
        /// </summary> 
        private void InitializeComponent() {  
            this.radLabel = new Telerik.WinControls.UI.RadLabel();  
            ((System.ComponentModel.ISupportInitialize)(this.radLabel)).BeginInit();  
            this.SuspendLayout();  
            //   
            // radLabel  
            //   
            this.radLabel.AutoSize = false;  
            this.radLabel.Dock = System.Windows.Forms.DockStyle.Fill;  
            this.radLabel.Location = new System.Drawing.Point(0, 0);  
            this.radLabel.Name = "radLabel";  
            //   
            //   
            //   
            this.radLabel.RootElement.StretchHorizontally = true;  
            this.radLabel.RootElement.StretchVertically = true;  
            this.radLabel.Size = new System.Drawing.Size(218, 189);  
            this.radLabel.TabIndex = 1;  
            this.radLabel.Text = "Dock me elsewhere and the title will change. Please tell me how to keep the initi" +  
                "al one.";  
            //   
            // UserControl2  
            //   
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);  
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;  
            this.Controls.Add(this.radLabel);  
            this.Name = "UserControl2";  
            this.Size = new System.Drawing.Size(218, 189);  
            ((System.ComponentModel.ISupportInitialize)(this.radLabel)).EndInit();  
            this.ResumeLayout(false);  
 
        }  
 
        #endregion  
 
        private Telerik.WinControls.UI.RadLabel radLabel;  
    }  
 
}  
 
Nikolay
Telerik team
 answered on 16 Jun 2010
9 answers
709 views
I came across this forum post, but it wasn't too helpful setting the maximum and minimum don't seem to work quite right.  (Also the post is a little outdated)
http://www.telerik.com/community/forums/winforms/toolstrip/how-to-resize-textbox-element.aspx


I am actually trying to make the TextBoxElement smaller.  The default is about twice as wide as I would like (just want to show a page count "X of Y").  Nothing I have tried will reliably change the size of this textbox.  I can get some of it to resize, but then the hosted .NET textbox control is misaligned and so the cursor doesn't look right.  Having the TextBoxElement be this wide is ok if there is no workaround, but it takes up valuable horizontal screen real estate.

Thanks!
Adam
Martin Vasilev
Telerik team
 answered on 16 Jun 2010
7 answers
266 views
Hi,

May I know how can I distribute the Telerik Control in my project together with my installation file? I couldn't find any merge module or things like that.

Please advice.
Nikolay
Telerik team
 answered on 16 Jun 2010
1 answer
121 views

Hi,


I added a read only BindingList as a DataSource to a grid view. AllowAdd, AllowEdit, AllowRemove are all set to false and IsReadOnly is set to true. But the grid view still allows the edit of cells and adding new rows. Is this by design or do I miss any configuration!? I know that the normal Windows Forms DataGridView evaluates these flags I and thought the Telerik grid view would do the same.


Regards

Martin


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