Completed
Last Updated: 16 Aug 2022 14:23 by ADMIN
Release R2 2022 SP1 (2022.2.622)

Run the sample project. You will observe the following error:

Here is the code snippet:

        public RadForm1()
        {
            InitializeComponent();

            this.radWebCam1.AutoStart = false; 
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            ReadOnlyCollection<MediaFoundationDeviceInfo> videoDevices = RadWebCam.GetVideoCaptureDevices();
            ReadOnlyCollection<MediaFoundationVideoFormatInfo> videoFormats = RadWebCam.GetVideoFormats(videoDevices[0], true);
            ReadOnlyCollection<MediaFoundationDeviceInfo> audioDevices = RadWebCam.GetAudioCaptureDevices();

            radWebCam1.Initialize(videoDevices[0], videoFormats[0], audioDevices[0]);
        }

        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);
           
            radWebCam1.Start();       
        } 

Note: It worked in 2022.1.222.40.

In Development
Last Updated: 16 Aug 2022 06:46 by ADMIN

Follow the steps which are illustrated in the gif file:

1. Create new .NetFrameWork Telerik WinForm project

2. Set the MinSize of the RadForm1 to 300, 300

3. Set the MaxDize of the RadForm1 to 600, 600

4. Save the Form

5. Close the form

6. Build the project

7. Add new Telerik form, inherit from RadFrom1 via the Add New Item form and picking Inherited Form (Windows Forms).  When prompted, pick RadForm1.

8. Resize the new form

9. Save and Close the form.

10. Open RadForm1

11. Reset the Max Size

12. Save and Close RadForm1

13. Rebuild the project

14. Open the inherited form

Workaround: instead of adding an Inherited Form, add a Telerik RadForm. Then, change it to inherit from RadForm1:

In Development
Last Updated: 15 Aug 2022 06:19 by ADMIN

ArgumentOutOfRangeException is thrown when the control is auto-sized (AutoSize = true) and we try to select all (MultiSelect = true with CellSelect) rows by clicking and moving the mouse. 

As a workaround, we could set the MaximumSize property of the RadGridView.

this.radGridView1.MaximumSize = new Size(1000,1000);

In Development
Last Updated: 12 Aug 2022 12:46 by ADMIN
In this particular case, we have two forms showing RadPictureBox control with a GIF file. The second form is opened on a different thread which freezes the UI.
Completed
Last Updated: 12 Aug 2022 10:12 by ADMIN
Release R2 2021

Steps to reproduce:

1. Copy an image with a transparent background to the Clipboard

2. Paste it in RadPictureBox.

As a result you will notice that the transparency is lost.

Note: it is possible to handle clicking the Paste menu item and control what image exactly to be pasted:

        public RadForm1()
        {
            InitializeComponent(); 

            this.radPictureBox1.ContextMenuItemClick += RadPictureBox1_ContextMenuItemClick;
        }

        private void RadPictureBox1_ContextMenuItemClick(object sender, HandledEventArgs e)
        {
            if (sender == this.radPictureBox1.ContextMenuProperties.PasteItem)
            {
                e.Handled = true;
                // Image extractedImage = // get image with transparency; 
                // this.radPictureBox1.Image = extractedImage;
            }
        }

In Development
Last Updated: 12 Aug 2022 08:52 by ADMIN

ThemeResolutionService.ApplicationThemeName = "Office2019Dark"; this.radDropDownList1.EnableAlternatingItemColor = true;

In Development
Last Updated: 11 Aug 2022 11:15 by ADMIN

Please refer to the attached sample project. After running it, the following error is observed:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.RadPictureBoxElement.UpdateParentControl()
   at Telerik.WinControls.UI.RadPictureBoxElement.OnParentChanged(RadElement previousParent)
   at Telerik.WinControls.RadElement.SetParent(RadElement parent)
   at Telerik.WinControls.RadElement.ChangeCollection(RadElement child, ItemsChangeOperation changeOperation)
   at Telerik.WinControls.RadElementCollection.OnInsertComplete(Int32 index, Object value)
   at System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
   at Telerik.WinControls.RadElementCollection.Add(RadElement value)
   at _1574930GanttCustomDataItem.RadForm1.customGanttViewTextViewCellElement.CreateChildElements() in C:\Projects\1574930GanttCustomDataItem\1574930GanttCustomDataItem\RadForm1.vb:line 75
   at Telerik.WinControls.RadElement.CallCreateChildElements()
   at Telerik.WinControls.RadElement.Construct()
   at Telerik.WinControls.RadElement..ctor()
   at Telerik.WinControls.RadItem..ctor()
   at Telerik.WinControls.UI.GanttViewTextViewCellElement..ctor(GanttViewTextItemElement owner, GanttViewTextViewColumn column)
   at _1574930GanttCustomDataItem.RadForm1.customGanttViewTextViewCellElement..ctor(GanttViewTextItemElement owner, GanttViewTextViewColumn column) in C:\Projects\1574930GanttCustomDataItem\1574930GanttCustomDataItem\RadForm1.vb:line 59
   at _1574930GanttCustomDataItem.RadForm1.radGanttView1_DataCellElementCreating(Object sender, GanttViewDataCellElementCreatingEventArgs e) in C:\Projects\1574930GanttCustomDataItem\1574930GanttCustomDataItem\RadForm1.vb:line 51
   at Telerik.WinControls.UI.RadGanttViewElement.OnDataCellCreating(GanttViewDataCellElementCreatingEventArgs e)
   at Telerik.WinControls.UI.GanttViewTextViewCellElementProvider.CreateElement(GanttViewTextViewColumn data, Object context)
   at Telerik.WinControls.UI.BaseVirtualizedElementProvider`1.GetElement(T data, Object context)
   at Telerik.WinControls.UI.BaseVirtualizedContainer`1.UpdateElement(Int32 position, T data)
   at Telerik.WinControls.UI.BaseVirtualizedContainer`1.MeasureElements()
   at Telerik.WinControls.UI.BaseVirtualizedContainer`1.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.UI.LightVisualElement.MeasureElements(SizeF availableSize, SizeF clientSize, Padding borderThickness)
   at Telerik.WinControls.UI.LightVisualElement.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.UI.VirtualizedStackContainer`1.MeasureElementCore(RadElement element, SizeF availableSize)
   at Telerik.WinControls.UI.VirtualizedStackContainer`1.MeasureElement(IVirtualizedElement`1 element)
   at Telerik.WinControls.UI.BaseVirtualizedContainer`1.MeasureElements()
   at Telerik.WinControls.UI.BaseVirtualizedContainer`1.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.UI.GanttViewTextViewElement.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.UI.RadGanttViewElement.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.RootRadElement.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RootRadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.RadElementTree.PerformInnerLayout(Boolean performMeasure, Int32 x, Int32 y, Int32 width, Int32 height)
   at Telerik.WinControls.RadControl.OnLoad(Size desiredSize)
   at Telerik.WinControls.RadControl.LoadElementTree(Size desiredSize)
   at Telerik.WinControls.RadControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at Telerik.WinControls.UI.RadFormControlBase.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)


************** Loaded Assemblies **************

Workaround: set the RadOictureBoxElement.PanelDisplayMode property to PictureBoxPanelDisplayMode.None.

In Development
Last Updated: 11 Aug 2022 10:51 by ADMIN

Use the attached project and try to collapse the panel:

Workaround:

this.radCollapsiblePanel1.EnableAnimation = false;

Unplanned
Last Updated: 11 Aug 2022 10:13 by ADMIN

Hi,

I am using CalHelper to convert recurrence rule to and from string.

It looks like when I convert rule to string and then parse it back to recurrence, some of the properties get dropped.

Please see below from my VS editor highlighting this:

 

Am I doing something wrong, or is this a bug?

 

Thanks

Anu

Unplanned
Last Updated: 11 Aug 2022 06:48 by David
Created by: David
Comments: 0
Category: WebCam
Type: Bug Report
0

 If the feed is paused and I re-size or move the app on my desktop, the camera image also goes blank. 

1. Run the project and press Space to pause the camera. 

2. Resize the form. You will notice that the paused image gets blank.

Workaround:

        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e); 
            this.radWebCam1.Resize += RadWebCam1_Resize; 
        }


        Timer t = new Timer();
        bool isPaused = false;
        private void RadWebCam1_Resize(object sender, EventArgs e)
        {
            t.Stop();
            if (isPaused)
            {
                t = new Timer();
                t.Interval = 100;
                t.Tick += T_Tick; 
                this.radWebCam1.Start();
                t.Start();
            } 
        }

        private void T_Tick(object sender, EventArgs e)
        {
            this.radWebCam1.Pause();
            isPaused = true;
            t.Stop();
        }
        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            if (keyData == Keys.Space)
            {
                this.radWebCam1.Pause();
                isPaused = true;
            }

            return base.ProcessCmdKey(ref msg, keyData);
        }

Unplanned
Last Updated: 10 Aug 2022 10:35 by Kobus
Created by: Kobus
Comments: 0
Category: TreeMap
Type: Feature Request
0

RadTreeMap supports grouping which allows you to add a TreeMapGroupDescriptor for a certain property name. For example if you have the Products table and group it by CategoryID, the following groups will be added:

winforms-treemap-grouping 003

If you want to group by a second or N-th property to build N-level of grouping, it would be nice to have this functionality.

In Development
Last Updated: 10 Aug 2022 07:19 by ADMIN
When the RadCheckBox (Defer Layout Mode) triggers the Update command which is no need. This should happen only when the RadCheckBox is unchecked.
In Development
Last Updated: 09 Aug 2022 08:56 by ADMIN
The newly loaded GIF file is not animated after ClearImage() method is called before that.
Unplanned
Last Updated: 08 Aug 2022 11:12 by Mark
ToolWindow is not scaled correctly on high DPI
In Development
Last Updated: 08 Aug 2022 11:05 by ADMIN
Scheduled for R3 2022
RadDiagramRibbonBar offers the DisableDefaultSaveAction property. When it is set to true, the default logic after clicking the Save/New button is skipped. A similar behavior is requested for the Open button, as it will facilitate any customizations for the logic executed after pressing the Open button.
Completed
Last Updated: 08 Aug 2022 10:24 by ADMIN
Release R3 2022 (LIB 2022.2.808)
When the definition of font-weight contains a CSS variable as a value for the property, NullReferenceException is thrown while importing the content.
Completed
Last Updated: 08 Aug 2022 10:24 by ADMIN
Release R3 2022 (LIB 2022.2.808)
Completed
Last Updated: 08 Aug 2022 10:24 by ADMIN
Release R3 2022 (LIB 2022.2.808)

Follow the code:

    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            RadControl.EnableRadAutoScale = true;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);


            string text = "Are you sure you want to exit?";
            string caption = "Application";
            RadMessageIcon icon = RadMessageIcon.Question;
            RadMessageBox.Show(text, caption, MessageBoxButtons.YesNo, icon);

            RadMessageBox.Show(text, caption, MessageBoxButtons.YesNoCancel, icon); 
       

When the application is run on a main monitor with 125% DPI scaling, the following result is observed:

Workaround: 

RadControl.EnableRadAutoScale = false;

Completed
Last Updated: 08 Aug 2022 10:24 by ADMIN
Release R3 2022 (LIB 2022.2.808)

Use the attached project and start dragging an item to trigger scrolling. As a result, an error occurs. The attached gif file illustrates the steps.

Workaround: 

Me.RadListView1.ListViewElement.DragDropService = New CustomListViewDragDropService(Me.RadListView1.ListViewElement)

    Public Class CustomListViewDragDropService
        Inherits ListViewDragDropService

        Public Sub New(owner As RadListViewElement)
            MyBase.New(owner)
        End Sub
        Protected Overrides Sub OnPreviewDragOver(e As RadDragOverEventArgs)
            MyBase.OnPreviewDragOver(e)
        End Sub
        Protected Overrides Sub HandleMouseMove(mousePos As Point)
            If Not Me.Initialized Then
                MyBase.HandleMouseMove(mousePos)
            End If

            Dim mi As MethodInfo = GetType(RadDragDropService).GetMethod("DoDrag", BindingFlags.Instance Or BindingFlags.NonPublic)
            mi.Invoke(Me, New Object() {mousePos})

            Dim fi2 As FieldInfo = GetType(RadDragDropService).GetField("beginPoint", BindingFlags.Instance Or BindingFlags.NonPublic)
            fi2.SetValue(Me, mousePos)

            Dim fi As FieldInfo = GetType(ListViewDragDropService).GetField("dragHintWindow", BindingFlags.Instance Or BindingFlags.NonPublic)

            Dim dragHintWindow = fi.GetValue(Me)

            If dragHintWindow Is Nothing AndAlso Me.CanCommit Then
                Me.PrepareDragHint()
            End If

            Me.UpdateDragHintLocation(mousePos)
            Dim viewElement As RadListViewElement = Me.Owner
            Dim item As BaseListViewVisualItem = TryCast(Me.DropTarget, BaseListViewVisualItem)

            If item IsNot Nothing AndAlso item.Data IsNot Nothing AndAlso Not item.Data.Owner.Equals(viewElement) Then
                viewElement = item.Data.Owner
            End If

            Dim clientPos As Point = viewElement.PointFromScreen(mousePos)

            If (clientPos.Y < 0 AndAlso viewElement.ViewElement.Orientation = Orientation.Vertical) OrElse (clientPos.X < 0 AndAlso viewElement.ViewElement.Orientation = Orientation.Horizontal) Then
                viewElement.ViewElement.Scroller.Scrollbar.PerformSmallDecrement(1)
            ElseIf (clientPos.Y > viewElement.Size.Height AndAlso viewElement.ViewElement.Orientation = Orientation.Vertical) OrElse (clientPos.X > viewElement.Size.Width AndAlso viewElement.ViewElement.Orientation = Orientation.Horizontal) Then
                viewElement.ViewElement.Scroller.Scrollbar.PerformSmallIncrement(1)
            End If
        End Sub
    End Class

Duplicated
Last Updated: 08 Aug 2022 08:32 by ADMIN
 A calendar is shown on a specific field and cannot be closed.
1 2 3 4 5 6