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"
Steps to reproduce: 1. Add a RadPropertyGrid to a form and subscribe for the PropertyValidating event 2. In the event handler show a RadMessageBox Run the project and change a property. Try to save the value and you will see an exception.
After each call to the Show method of RadMessageBox, the message box form is disposed. This causes each new call to Instance (or Show which internally calls Instance) to create a new instance of a message box form, loosing any user settings.
To workaround this issue you should dispose the Instance property of RadMessageBox after each show of message box. For example: 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);
When RadMessageBox has not owner and it is using in form that has TopMost = true throws exception after first call of RadMessageBox.Show() Steps to reproduce: 1.Create From with TopMost = true 2. Add button and insert the following code in press event: RadMessageBox.Show("Text"); 3.Run application and press the button two times. Workaround after each show of RadMessageBox add this code snippet: RadMessageBox.Instance.Dispose();
RadMessageBox throws ArgumentException - "A circular control reference has been made. A control cannot be owned by or parented to itself." when using with MDI forms. WorkAround: RadMessageBox.Show("Text"); RadMessageBox.Instance.Dispose();
RadMessageBox - SetThemeName method is not working correctly, after dispose on owner form. Workaround - Reset the radMessageBoxForm field via reflection. For example: var field = typeof(RadMessageBox).GetField("radMessageBoxForm", BindingFlags.NonPublic | BindingFlags.Static); field.SetValue(null, null); RadMessageBox.SetThemeName("Office2007Black");
When you are navigating repeatedly between the buttons in RadMessageBox using the arrow keys, at one of the steps none of the buttons is focused.
RadMessageBox - Buttons are not arranged correctly in RTL
FIX. RadRibbonForm - setting the FormBorderStyle property does not take effect
When a user double-clicks the OK button at design-time, an empty event handler is created. However, this handler needs the WithEvents keyword in the Designer of the form.
If the theme of your Windows 7 is 'Windows 7 Basic' and you have a RadForm as an mdi child., when you maximize this form, you will notice that there is a gap of several pixels between the parent form title bar and the client part of the child form. This can be worked around as shown below: Public Class MDIParent Public Sub New() InitializeComponent() End Sub Dim shouldGetSavedSize As Boolean = False Dim suspendResize As Boolean = False Dim formSize As Drawing.Size = Size.Empty Private Sub RadButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButton1.Click Dim form As RadForm = New RadForm form.MdiParent = Me form.Show() formSize = form.Size AddHandler form.Resize, AddressOf Form_Resize AddHandler form.SizeChanged, AddressOf Form_SizeChanged End Sub Private Sub Form_SizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Dim form As RadForm = DirectCast(sender, RadForm) If Not form.WindowState = FormWindowState.Maximized Then If suspendResize Then Return End If formSize = form.Size End If End Sub Private Sub Form_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Dim form As RadForm = DirectCast(sender, RadForm) If form.WindowState = FormWindowState.Maximized Then shouldGetSavedSize = True form.FormBorderStyle = Windows.Forms.FormBorderStyle.None Else If shouldGetSavedSize Then shouldGetSavedSize = False suspendResize = True form.FormBorderStyle = FormBorderStyle.Sizable form.Size = formSize suspendResize = False End If End If End Sub End Class
Setting the ShowIcon to false hides the icon. You then decide to show the icon again, and you set ShowIcon back to true. However, the icon does not appear again.
Steps to reproduce: Create & show a RadRibbonForm under Windows 8 and exception will occurred.
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.
it seems to be when I'm deriving from RadForm the NotifyPropertyChanged Doesn't seem to work It is binding to the Text Propery of the dockwindow. what i am trying to do is bind to a propery of my class called FormText (This is not the Frm.Text but Frm.FormText) a completly diffrent property. This is not possible to do with the below code. What I am ultimelty trying to do is have a class that is derived from RadForm so i can add a BindingSource to the form and load it with data. I'm then trying to bind to the Possition and Item Count fo the BindingSource to show the user what record/how many records there are. I need to re-bind this each time the tab is changed so the user is always seeing the records for the Selected form Resolution: Scenario is not common and the issue is not related directly to our form. Since our RadForm is ISupportInitialize and in the case that the developer does not call Form EndInitialize method the Microsoft binding will reject the binding because Form IsInitialized property is false. So these methods must be called: ((System.ComponentModel.ISupportInitialize)(radForm1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(radForm1)).EndInit();
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.