To reproduce: public partial class Form1 : RadForm { public Form1() { InitializeComponent(); this.IsMdiContainer = true; } private void radButton1_Click(object sender, EventArgs e) { RadForm childForm = new RadForm(); childForm.Text = "MDI Child " + DateTime.Now.ToShortTimeString(); childForm.MdiParent = this; childForm.WindowState = FormWindowState.Maximized; childForm.Show(); } }
To reproduce: - Create new project. - Make the default form to inherit RadForm. - Start the application and maximize the form. - You will notice that a few pixels are displayed on the right monitor as well. Workaround: var screen = System.Windows.Forms.Screen.PrimaryScreen.Bounds; this.MaximumSize = new Size(screen.Width, screen.Height); Second Workaround: public Form1() { InitializeComponent(); this.SizeChanged += Form1_SizeChanged; } private void Form1_SizeChanged(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Maximized) { this.Region = null; } }
To reproduce: Create a RadForm and use the following code: public Form1() { InitializeComponent(); var theme = new Telerik.WinControls.Themes.Windows7Theme(); ThemeResolutionService.ApplicationThemeName = theme.ThemeName;// "Windows7"; this.AllowTheming = false; } Start the application on Windows 7, you will see that the close/minimize/maximize buttons cannot be clicked. Workaround: Do not set the AllowTheming property or set it to true
To reproduce: Show RadMessageBox as follows: RadMessageBox.Show(this, "מסר כלשהו", "Caption", MessageBoxButtons.OKCancel, RadMessageIcon.Error, MessageBoxDefaultButton.Button1, RightToLeft.Yes, "מסר2 כלשהו"); Open the details button and you will see that the text is כלשהו מסר2
To reproduce: Create a RadForm and set the property as follows: public Form1() { InitializeComponent(); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; } Workaround: Set the ShowIcon property to false: public Form1() { InitializeComponent(); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.ShowIcon = false; }
To reproduce: 1. Open a RadForm 2. Maximize the form. 3. Restore the form. Then we can see odd line on the bottom of title bar / top of the form. If you resize the form (make it bigger), new visible areas of form doesn't contain this weird line. Workaround: protected override void WndProc(ref Message m) { FormWindowState currentWindowState = this.WindowState; base.WndProc(ref m); if (currentWindowState == FormWindowState.Maximized && this.WindowState== FormWindowState.Normal) { this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable; } }
Workaround: use RadRibbonForm instead or set minimum and maximum size
RadMessageBox - Buttons are not arranged correctly in RTL
To reproduce: 1.Add a RadButton and on its Click event, show a RadMessageBox. 2.Add a RadDropDownList . 3.Drag several themes from the toolbox and drop them onto the form (e.g. Office2010Black, Office2010Blue, TelerikMetro, Windows8) 4.Use the following code: public Form1() { InitializeComponent(); this.radDropDownList1.Items.Add("Office2010Black"); this.radDropDownList1.Items.Add("Office2010Blue"); this.radDropDownList1.Items.Add("TelerikMetro"); this.radDropDownList1.Items.Add("Windows8"); this.radDropDownList1.SelectedIndexChanged += radDropDownList1_SelectedIndexChanged; this.radDropDownList1.SelectedItem = this.radDropDownList1.Items[0]; } private void radDropDownList1_SelectedIndexChanged(object sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e) { string itemText = this.radDropDownList1.Items[e.Position].Text; ThemeResolutionService.ApplicationThemeName = itemText; } private void radButton1_Click(object sender, EventArgs e) { RadMessageBox.Show("Some message", "Confirmation", MessageBoxButtons.OKCancel); } When you select a new item from the RadDropDownList, the theme for the entire application is changed. But when you click the button to show a RadMessageBox, the RadMessageBox has incorrect style for its buttons. Workaround: set the RadMessageBox.ThemeName before showing it: RadMessageBox.ThemeName = ThemeResolutionService.ApplicationThemeName; RadMessageBox.Show("Some message", "Confirmation", MessageBoxButtons.OKCancel);
Workaround: set the property at run time
To reproduce: -add a RadForm and specify its Icon property; -modify Resources area on project's Properties -> Application tab in order to add Icon and manifest; -run the project and you will notice that the specified icon is displayed in the taskbar. However, Alt+Tab panel does not display the certain RadForm's icon.
To reproduce: Add a RadForm and set its icon property. You will notice that the Form's icon is changed but it is not in the taskbar.
To reproduce: - set your windows taskbar to auto-hide. - Add RadForm to a blank solution. - Change the forms behaviour with the following one: RadRibbonFormBehavior radRibbonFormBehavior1 = new RadRibbonFormBehavior(); this.radRibbonFormBehavior1.Form = this; this.FormBehavior = this.radRibbonFormBehavior1; - When you maximize the form the taskbar won't show like in the normal case.
To reproduce: Add a RadRibbonBar, associate AcceptButton and CancelButton and subscribe to their events. Run the application press escape and the CancelButton's event should be fired. Press enter - no results. Workaround: protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { if (keyData == System.Windows.Forms.Keys.Enter) { this.AcceptButton.PerformClick(); } return base.ProcessCmdKey(ref msg, keyData); } Resolution: The issue is fixed in Telerik`s RadForm and RadRibbonForm. If you use MS Form, this is still not working.
To reproduce: Create a RadForm set Maxmize/Minimize box to false. Run it and try to drag the form by clicking on where the buttons used to be. Workaround: void MainForm_Load(object sender, EventArgs e) { this.FormElement.TitleBar.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.FormElement.TitleBar.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; }
Description: Text alignment of the title bar caption can not be changed. this.FormElement.TitleBar.TitlePrimitive.Alignment = ContentAlignment.MiddleCenter;
Workaround: ((RadFormControlBase)this).MinimumSize = new Size(350, 350); ((RadFormControlBase)this).MaximumSize = new Size(350, 350);
QSF Forms&Dialogs Message box - show RadMessageBox when click on the right side of the title bar the popup dialog cannot be dragged.
To reproduce: - Set the form MinimumSize to or close to the RadForm's actual size. - Turn all windows visual effects off - Set the theme to Office2010Silver - Start the application Workaround: - Load the theme manually in code like this: ThemeResolutionService.LoadPackageFile("C:\Office2010Silver.tssp") ThemeResolutionService.ApplicationThemeName = "Office2010Silver"