RadMessageBox - Buttons are not arranged correctly in RTL
To reproduce: Create a RadFrom, make it MDIParent and add MDI children Set the RightToLeft property of the MDIParent to Yes and you will see that the the left side of the child forms is a little cut off. This can be seen by comparing the distance between the end of the form and the X button.
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);
Add the ability to show the control where the IWin32Window owner has different handle.
Workaround: set the property at run time
Create a custom theme starting from Aqua theme. Change the Font for RadLabelElement-TextPrimitive to "Microsoft Sans Serif, 10pt". Save the theme and apply it to the entire application. Show several times a RadMessageBox with long text. The first time the RadMessageBox is sized correcly to its content. Each next showing, cuts off the text. Workaround: the possible workaround that I can suggest is to dispose the RadMessageBox instance after showing it: Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click RadMessageBox.Show(Me, "If you have some veeeeery long sample text, the messagebox " & _ "should be resized according to its content.", "Caption", MessageBoxButtons.OK, My.Resources.image) RadMessageBox.Instance.Dispose() End Sub
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.
Form should be closed only with Left mouse button
To reproduce: -Set RTL via the insane: RadMessageBox.Instance.RightToLeft = RightToLeft.Yes; - You will notice that layout is not changed when the messagebox is shown. Worlaround: - Use the RadMessageBox show method with the following parameters: RadMessageBox.Show(this, "test", "caption", MessageBoxButtons.OKCancel, icon, MessageBoxDefaultButton.Button1, RightToLeft.Yes);
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: 1. Drop a RadGridView and RadButton on Rad Form. 2. Set gris Anchor property to Top-Right-Bottom-Left and the buttons Anchor property to Right-Bottom. 3. Make sure that the RadForm's size is exactly as your desktop resolution(e.g. my 'RadForm' size and desktop resolution are 1920x1080). 4. Change its 'AutoScaleMode' property's value to 'Font'. 5. Build project. 6. Copy the resulted executable on your desktop and name it 'RadControlsWinFormsApp_Font' 7. Select again the RadForm. 8. Change its 'AutoScaleMode' property's value to 'DPI' 9. Build project. 10. Copy the resulted executable on your desktop and name it 'RadControlsWinFormsApp_DPI' 11. Select again the RadForm 12. Change its 'AutoScaleMode' property's value to 'Inherit' 13. Build project 14. Copy the resulted executable on your desktop and name it 'RadControlsWinFormsApp_Inherit' 15. Change your desktop resolution to a lower one (e.g. I've change it from 1920x1080 to 1600x900) 16. 'Auto-Hide' the Window's taskbar 17. Run the executables and see the results: 17.1 In case of 'RadControlsWinFormsApp_Font' application, you should see that the 'RadGridView' control gets truncated + the lower right 'RadButton' is not visible anymore 17.2 In case of 'RadControlsWinFormsApp_DPI' application, you should see that the 'RadGridView' control gets truncated + the lower right 'RadButton' is not visible anymore 17.3 In case of 'RadControlsWinFormsApp_Inherit' application, you should see the controls on the form as you initially placed them. Also this issue appears on 'Windows XP SP3 x86' and also on 'Windows 7 SP1 x64' . Workaround: - Set AutoScaleMode property to None or Inherit.
To reproduce: RadForm form = new RadForm(); form.WindowState = FormWindowState.Maximized; form.Text = string.Format("Child {0}", MdiChildren.Length + 1); form.MdiParent = this; form.Show(); Hover the Form's title bar the tooltip should start flashing/blinking
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;
RadMessageBox - has incorrect layouts when the message text is formatted with HTML like. Workaround: RadMessageBox.Show("Text"); RadMessageBox.Instance.Dispose(); If you are using themes, consider the following approach: RadMessageBox.SetThemeName("Windows7"); RadMessageBox.Show("This is some long text that sometimes does not wrap as it should."); var field = typeof(RadMessageBox).GetField("radMessageBoxForm", BindingFlags.NonPublic | BindingFlags.Static); field.SetValue(null, null);
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"