FIX. RadCheckBox - can't replace the default check mark with image
To reproduce: - Create a form - Add grid - Open Property Builder - Check the ThemeName property drop down -> the theme name is available
Application button in TelerikMetro and TelerikMetroBlue themes cannot be easily customized.
No matter that is the ToggleState of the check box, when disabled always shows as ToggleState.Off. Appears with Office2007Black and probably other themes. To work around the issue, capture two images of the check box in enabled state for the On and Indeterminate state and assign those when the check box is disabled. Here is a sample: public Form1() { InitializeComponent(); radCheckBoxElement1.IsThreeState = true; radCheckBoxElement1.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On; radCheckBoxElement2.IsThreeState = true; radCheckBoxElement2.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Off; radCheckBoxElement3.IsThreeState = true; radCheckBoxElement3.ToggleState = Telerik.WinControls.Enumerations.ToggleState.Indeterminate; radCheckBoxElement1.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); radCheckBoxElement2.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); radCheckBoxElement3.EnabledChanged += new EventHandler(radCheckBoxElement1_EnabledChanged); } void radCheckBoxElement1_EnabledChanged(object sender, EventArgs e) { RadCheckBoxElement checkBox = sender as RadCheckBoxElement; if (checkBox.Enabled) { checkBox.CheckMarkPrimitive.Image = null; } else if (checkBox.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On) { checkBox.CheckMarkPrimitive.Image = Resources.check; } else if (checkBox.ToggleState == Telerik.WinControls.Enumerations.ToggleState.Indeterminate) { checkBox.CheckMarkPrimitive.Image = Resources.indeterminate; } } private void radButton1_Click(object sender, EventArgs e) { radCheckBoxElement1.Enabled = radCheckBoxElement2.Enabled = radCheckBoxElement3.Enabled = !radCheckBoxElement1.Enabled; }
FIX. Themes - message box appears when application is deployed
FIX. RadShortcut triggers the click event of RadMenuItem even though its is disabled
Steps to reproduce: 1. Add a label to a form 2. Open the form designer and set the text of the label to something like: <html>send mail<a href='mailto:some@mail.com'><b>some@mail.com</b></a> Open the designer surface for the form and you will get an exception.
FIX. Themes - RadPageViewItem's close button is missing an image in Desert theme
1. Create a new project and add a RadLabel. 2. When handling the Form.Load event set its Enabled state first to false and then to true. 3. Run the project and you will see that the label is still disabled.
The GridViewRowInfo rowInfo = e.DragInstance.GetDataContext() as GridViewRowInfo; should be used instead
Open the example, select all rows in the left grid and press the Checkout Selected Products button: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index) at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.Generic.IList<T>.get_Item(Int32 index) at Telerik.Examples.WinControls.GridView.RowsDragDrop.Form1.MoveRows(RadGridView targetGrid, RadGridView dragGrid, IList`1 dragRows, Int32 index) in C:\Program Files (x86)\Telerik\RadControls for WinForms Q2 2012\Examples\QuickStart\GridView\RowsDragDrop\Form1.cs:line 81 at Telerik.Examples.WinControls.GridView.RowsDragDrop.Form1.btnCheckoutSelectedProducts_Click(Object sender, EventArgs e) in C:\Program Files (x86)\Telerik\RadControls for WinForms Q2 2012\Examples\QuickStart\GridView\RowsDragDrop\Form1.cs:line 129 at System.Windows.Forms.Control.OnClick(EventArgs e) at Telerik.WinControls.RadControl.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonBase.buttonElement_Click(Object sender, EventArgs e) at Telerik.WinControls.RadItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e) at Telerik.WinControls.UI.RadButtonElement.OnClick(EventArgs e) at Telerik.WinControls.RadItem.DoClick(EventArgs e) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args) at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e) at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e) at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at Telerik.WinControls.RadControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
FIX. QSF - GridView > Rows > Rows Drag & Drop example - dragging multiple rows does now work
1. Create a new project and add a button. 2. Set the following text to the button: <html><p><strong>A header in bold font</strong></p><p>and this text is missing!!</p></html> 3. Run the project.
1. Create a new project and add a Form. 2. At design time add several different Rad controls. 3. Build the application. 4. Change the DPI settings of your operating system to 125% (make sure to use XP style scaling). 5. Run the application. The issue appears when using XP style scaling on Vista or Windows 7 operating systems. You can work around it by disabling this option. To do this, follow these steps: 1. Right click on the desktop and choose the personalize option. 2. Click the Display option located at the left bottom corner of the form. 3. Click the Set custom text size (DPI) option located at the left side of the form. 4. Uncheck the Use Windows XP style DPI scaling. 5. You should reboot your PC in order to apply changes. There is another solution that works in most of the cases. You should remove the following lines from your form Designer.cs file: this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
Steps to reproduce: 1. Place a RadButton on a form 2. In the load event of the form set the text of the button to some list. For example: <html><ul><li>list item 1</li><li>list item 2</li><li>list item 3</li></ul></html> 3. Run the project and you'll see the last item is missing.
1. Create a new form and add command bar in it. 2. Add a split button with one item 3. On item click add code to show RadForm. 4. Run the project and click the item to show the form.
1. Create a new project and setup a splash screen. 2. While the splash screen loads create a screen tip. 3. Run the project
1. Create a new project and open a form at design time. 2. Add RadTreeView. 3. Add Office2007Black theme component. 4. Set the ThemeName property of RadTreeView to Office2007Black.
1. Run a project containing RadRibbonBar with Office2010Blue theme 2. Compare with Q1 2012 SP1
1. Open a RadForm ad design time. 2. Drop a theme component. 3. Open the RadForm.ThemeName drop down list and you will see only Reset and ControlDefault options.