Completed
Last Updated: 17 Feb 2020 11:56 by ADMIN
Release R1 2020 SP1

Greetings,

While testing the exporting feature of RadTreeView, I noticed the following issue :

Using the code below , everything works just fine :

Me.RadTreeView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes
 
Dim exporter As TreeViewSpreadExport = New TreeViewSpreadExport(Me.RadTreeView1)
 
AddHandler exporter.CellFormatting, AddressOf exporter_CellFormatting
 
exporter.ExportFormat = SpreadExportFormat.Xlsx
 
exporter.ExportVisualSettings = False
exporter.ExportImages = False
exporter.ExportChildNodesGrouped = True
exporter.CollapsedNodeOption = HiddenOption.ExportAlways
 
Dim renderer As SpreadExportRenderer = New SpreadExportRenderer()
 
exporter.RunExport("D:\test.xlsx", renderer)

 

But, the following line of the code raises an error in a specific circumasntance (I describe it more, further in the thread)   :

exporter.RunExport("D:\test.xlsx", renderer)

 

Error Screenshot is attached : 1.jpg

Details about the error :

System.ArgumentOutOfRangeException
  HResult=0x80131502
  Message=value should be greater or equal than 0 and less or equal than 7.
Parameter name: value
  Source=Telerik.Windows.Documents.Spreadsheet
  StackTrace:
 
at Telerik.WinControls.UI.RadButtonBase.buttonElement_Click(Object sender, EventArgs e)
   at Telerik.WinControls.RadElement.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadButtonElement.OnClick(EventArgs e)
   at Telerik.WinControls.RadElement.DoClick(EventArgs e)
   at Telerik.WinControls.RadElement.RaiseBubbleEvent(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.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 Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)

 

 

The Specific Circumstance :

In my RadTreeView's NodeMouseClick , I add some child nodes to the node which is clicked, at runtime :

Dim _Node1 As RadTreeNode = e.Node.Nodes.Add("Node 1")
Dim _Node2 As RadTreeNode = e.Node.Nodes.Add("Node 2")
Dim _Node3 As RadTreeNode = e.Node.Nodes.Add("Node 3")

 

Then I found out that setting "exporter.ExportChildNodesGrouped" to True causes the error. But if it is set to false, no error raised even in the above Circumstance.

P.S  Normally setting "exporter.ExportChildNodesGrouped" to True or False doesn't cause any error, but adding some child nodes at run time surly does.

 

Thanks for your attention.

 


Completed
Last Updated: 17 Feb 2020 11:47 by ADMIN
Release R1 2020 SP1

Please refer to the attached sample project and gif file which illustrates the exact steps and obtained result.

Workaround: set the DropDownStyle property to DropDown.

NOTE: Shift+Tab should also navigate through the controls in a reversed order with enabled AutoCompleteMode.

Completed
Last Updated: 17 Feb 2020 09:15 by ADMIN
Release R1 2020 SP1

RadVirtualKeyboardForm is always shown below the associated controls. However, when there is no enough space for the entire RadVirtualKeyboardForm, it is cut off.

When the associated control is close to the screen boundaries, the location should be adjusted in such a way that the whole keyboard is displayed.

Completed
Last Updated: 17 Feb 2020 09:15 by ADMIN
Release R1 2020 SP1

Theme Names aren't sorted in the Properties window of VS2019


Completed
Last Updated: 12 Feb 2020 12:06 by ADMIN
Release R1 2020 SP1

Steps to reproduce:

1. Open RadOpenFileDialog.

2. Select items.

3. Remove an item from the "File name" autocomplete box.

To workaround:

RadAutoCompleteBox acb = openFileDialog.OpenFileDialogForm.Controls.Find("selectedFilesAutoCompleteBox", true)[0] as RadAutoCompleteBox;
acb.Items.CollectionChanged += this.Items_CollectionChanged;
private void Items_CollectionChanged(object sender, Telerik.WinControls.Data.NotifyCollectionChangedEventArgs e)
{
    if (e.Action == Telerik.WinControls.Data.NotifyCollectionChangedAction.Remove)
    {
        ExplorerControl explorerControl = this.openFileDialog.OpenFileDialogForm.ExplorerControl;

        List<ListViewDataItem> selecteditems = explorerControl.FileBrowserListView.SelectedItems.ToList();
        foreach (RadTokenizedTextItem varItem in e.NewItems)
        {
            string strText = varItem.Text.Trim();

            foreach (ListViewDataItem item in explorerControl.FileBrowserListView.SelectedItems)
            {
                if (item.Text == strText)
                {
                    selecteditems.Remove(item);
                }
            }
        }

        explorerControl.FileBrowserListView.SelectedItems.Clear();
        explorerControl.FileBrowserListView.Select(selecteditems.ToArray());
    }
}

The achieved result is demonstrated in the attached gif file.

Completed
Last Updated: 12 Feb 2020 12:01 by ADMIN
Release R1 2020 SP1

When you have BarSeries and LineSeries in RadChartView the problem is that the DataPoint.Presenter is always BarSerries, never LineSeries. 

To workaround, create custom renderer:

this.radChartView1.CreateRenderer += this.RadChartView1_CreateRenderer;
private void RadChartView1_CreateRenderer(object sender, ChartViewCreateRendererEventArgs e)
{
    e.Renderer = new CustomCartesianRenderer(e.Area as CartesianArea);
}

public class CustomCartesianRenderer : CartesianRenderer
{
    public CustomCartesianRenderer(CartesianArea area)
        : base(area)
    { }
    public override DataPoint HitTest(int x, int y)
    {
        for (int i = this.DrawParts.Count - 1; i >= 0; i--)
        {
            DataPoint dataPoint = this.DrawParts[i].HitTest(new Point(x, y));
            if (dataPoint != null)
            {
                return dataPoint;
            }
        }

        return base.HitTest(x, y);
    }
}
Completed
Last Updated: 07 Feb 2020 10:02 by ADMIN
Release R1 2020 SP1 (LIB 2020.1.210)

Workaround: 

Workarond:
radMultiColumnComboBox1.AutoSize = false;
radMultiColumnComboBox1.MinimumSize = new Size(0, 22);

Completed
Last Updated: 07 Feb 2020 10:00 by ADMIN
Release R1 2020 SP1 (LIB 2020.1.210)

I have a RadRichTextEditor. When it contains multiple lines a vertical scroll bar is shown. When I keep writing and press the enter key to insert a carriage return, it starts a new paragraph but the cursor disappears. 

When I press return at the bottom of this control I want the cursor to be kept in sight. See the screenshots I have attached. You can see that after the return you can only see the very top of the cursor, the rest is hidden. You have to actually manually scroll down to get it into view.

When you start typing, this cursor comes into view, but I want it to be in view even if you just press return. Is there a way to get it to do this?

This seems to be the default behavior of this control, as I have created a new application to show this, which doesn't contain any of the formatting which my actual application does.

Completed
Last Updated: 07 Feb 2020 10:00 by ADMIN
Release R1 2020 SP1 (LIB 2020.1.210)

I have integration radscheduler and radganttview.

Load data

Dim ds as new DataSource

Dim dvAppointments As New DataView

Dim appointmentMappingInfo As New AppointmentMappingInfo()
        Dim SchedSource As New SchedulerBindingDataSource()
        appointmentMappingInfo.Mappings.Add(New SchedulerMapping("Kontrahent", "pln_kntakronim"))
        appointmentMappingInfo.Start = "pln_start"
        appointmentMappingInfo.End = "pln_stop"
        appointmentMappingInfo.Location = "pln_nr"
        appointmentMappingInfo.ResourceId = "pln_zamgidnumer"
        appointmentMappingInfo.Description = "pln_opis"
        appointmentMappingInfo.Resources = ""
        appointmentMappingInfo.Location = "pln_nrzam"
        appointmentMappingInfo.Summary = "pln_twrkod"
        appointmentMappingInfo.StatusId = "pln_status"

        dvAppointments.Table = ds.Tables("PlanowanieTamborow")
        SchedSource.EventProvider.Mapping = appointmentMappingInfo

        bsPlanowanie.DataSource = dvAppointments  'BindingSource
        SchedSource.EventProvider.DataSource = bsPlanowanie
    
        RadScheduler1.DataSource = SchedSource

        RadGanttView1.DataProvider = New GanttViewIntegrationProvider(RadScheduler1)

refresh data

Dim reader As System.Data.SqlClient.SqlDataReader = comm.ExecuteReader

 ds.Tables("PlanowanieTamborow").Clear()
 ds.Tables("PlanowanieTamborow").Load(reader)
 ds.Tables("PlanowanieTamborow").AcceptChanges()

 ds.Tables("PlanowanieTamborow")

 

If I refresh the Radscheduler then RadGanttView doesn't refresh

Radscheduleris working properly

 

Completed
Last Updated: 30 Jan 2020 09:34 by ADMIN
Release R3 2018
Please refer to the attached sample project. Run the application on a WIndows 10 machine. Switch on the Narrator and try to expand a node then the EnableRadAccessibilityObjects  property is set to true.

Workaround: set the EnableRadAccessibilityObjects property to false.
Completed
Last Updated: 23 Jan 2020 11:59 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
Created by: Shreesh
Comments: 4
Category: Form
Type: Bug Report
0

When a set of RadForms is used inside an MDI Form and are maximized, after some time, the child forms flicker continuously.

See the attached video.

The same behaviour DOES NOT happen when regular Windows Form is used.

 

Completed
Last Updated: 23 Jan 2020 11:58 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
Completed
Last Updated: 23 Jan 2020 11:57 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)

I can not add any type of control to the layoutControlGroupItem.  I have a screen recording of me trying to follow the procedure shown but it is 60M so I can't attach it.  I shared the file on my OneDrive if you would like to access it that way.

 

https://ryancentral-my.sharepoint.com/:v:/p/jeff_burke/EV_FvUkDAUtLlWgYelxCxeoB52z_0522xoFurCSQNa-dbw?e=s2WOe5

 

 

Completed
Last Updated: 23 Jan 2020 11:55 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
Created by: M.
Comments: 5
Category: RibbonBar
Type: Bug Report
1

Hello,

 

you will find in attached image the problem for File Tab button regarding its look in the editor and when running the application. How can I resolve this difference ?

 

Best regards

Completed
Last Updated: 23 Jan 2020 11:53 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)

I was already using telerik 2015 version. that was everything ok. Until I decided to upgrade to 2019 version.

I noticed that the new version is having a problem.

When RadDock Using In RightToLeft mode DocumentTabStrip Window apperance corrupted.

I uploaded sample projects for guidance.

Please help me.

My problem is acute.

Completed
Last Updated: 23 Jan 2020 08:02 by ADMIN
Release R1 2019
To reproduce: please refer to the attached gif file:

1. Drop RadCollapsiblePanel from the toolbox on to the windows form.
2. Click on the form and press Ctrl+Z to undo the change
3. Observe that an error dialog popped up saying "Index and length must refer to a location within the string. Parameter name: length"
Completed
Last Updated: 23 Jan 2020 05:08 by Mahesh
To reproduce: 
- When the filter is set to contains the item is different than the item is selected from the drop-down and the text is taken from the append functionality.

Workaround
Either change the filter to StarrtsWith or remove the suggest functionality. 
Completed
Last Updated: 22 Jan 2020 11:12 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 2
Category: Map
Type: Bug Report
0
To reproduce: add a RadMap with a Bing provider, select the canvas "Aerial with labels on demand" and zoom in all the way. It always gets the following exception:

System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
   at Telerik.WinControls.UI.MapTileDownloader.TileDownloadDataCompleted(Object sender, DownloadDataCompletedEventArgs e)
   at System.Net.WebClient.OnDownloadDataCompleted(DownloadDataCompletedEventArgs e)

The issue is reproducible in Demo application with the Bing examples.

Workaround:

        public RadForm1()
        {
            InitializeComponent();

            string cacheFolder = @"..\..\cache";
            BingRestMapProvider bingProvider = new Telerik.WinControls.UI.BingRestMapProvider();
            bingProvider.TileDownloader = new CustomMapTileDownloader();
            bingProvider.UseSession = true;
            bingProvider.BingKey = "your bing key";
            LocalFileCacheProvider cache = new LocalFileCacheProvider(cacheFolder);
            bingProvider.CacheProvider = cache;
            this.radMap1.Providers.Add(bingProvider);
             
        }

        public class CustomMapTileDownloader : MapTileDownloader
        {
            protected override void TileDownloadDataCompleted(object sender, System.Net.DownloadDataCompletedEventArgs e)
            {
                TileInfo tileInfo = ((TileInfo)e.UserState);

                if (e.Error == null)
                {
                    try
                    {
                        using (MemoryStream ms = new MemoryStream(e.Result))
                        {
                            Image img = Image.FromStream(ms, true, true);
                            tileInfo.Content = e.Result;

                            this.OnTileDownloadComplete(new TileInfoEventArgs(tileInfo));

                            lock (this.webClientsPoolLockObject)
                            {
                                this.webClientsPool[tileInfo.Quadkey].DownloadDataCompleted -= this.TileDownloadDataCompleted;
                                this.webClientsPool.Remove(tileInfo.Quadkey);
                                this.webRequestCache.Remove(tileInfo.Quadkey);
                            }
                        }
                    }
                    catch (Exception)
                    {
                        
                        
                    }
                           
                    
                }
                else
                {
                    if (this.ShouldRetryDownload(e.Error))
                    {
                        Uri uri = this.webRequestCache[tileInfo.Quadkey];

                        lock (this.webClientsPoolLockObject)
                        {
                            uri = new Uri(this.webClientsPool[tileInfo.Quadkey].BaseAddress);
                            this.webClientsPool[tileInfo.Quadkey].DownloadDataCompleted -= this.TileDownloadDataCompleted;
                            this.webClientsPool.Remove(tileInfo.Quadkey);
                            this.webRequestCache.Remove(tileInfo.Quadkey);
                        }

                        this.BeginDownloadTile(uri, tileInfo);
                    }
                }
            }
        }
    }
Completed
Last Updated: 21 Jan 2020 12:52 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
Created by: Ricardo
Comments: 1
Category: UI for WinForms
Type: Bug Report
1

To reproduce:

 radMaskedEditBox1.MaskedEditBoxElement.ContextMenuEnabled = true;

Workaround:

public RadForm1()
{
    InitializeComponent();
    radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
    radMaskedEditBox1.Mask = "9999999999";
    radMaskedEditBox1.MaskedEditBoxElement.ContextMenuEnabled = true;
    radMaskedEditBox1.MaskedEditBoxElement.ContextMenu = BuildContextMenu();
}
private RadContextMenu BuildContextMenu()
{
    var contextMenu = new RadContextMenu();


    if (contextMenu == null)
    {
        contextMenu = new RadContextMenu();
    }

    if (contextMenu.Items.Count == 0)
    {
        RadMenuItem menuItem = new Telerik.WinControls.UI.RadMenuItem("Cut");
        menuItem.Name = "Cut";
        contextMenu.Items.Add(menuItem);
        menuItem.Click += new System.EventHandler(this.ContextMenuMenuItem_Click);

        menuItem = new Telerik.WinControls.UI.RadMenuItem("Test");
        menuItem.Name = "Copy";
        contextMenu.Items.Add(menuItem);
        menuItem.Click += new System.EventHandler(this.ContextMenuMenuItem_Click);

        menuItem = new Telerik.WinControls.UI.RadMenuItem("Paste");
        menuItem.Name = "Paste";
        contextMenu.Items.Add(menuItem);
        menuItem.Click += new System.EventHandler(this.ContextMenuMenuItem_Click);

        menuItem = new Telerik.WinControls.UI.RadMenuItem("Delete");
        menuItem.Name = "Delete";
        contextMenu.Items.Add(menuItem);
        menuItem.Click += new System.EventHandler(this.ContextMenuMenuItem_Click);

        menuItem = new Telerik.WinControls.UI.RadMenuItem("Select All");
        menuItem.Name = "Select All";
        contextMenu.Items.Add(menuItem);
        menuItem.Click += new System.EventHandler(this.ContextMenuMenuItem_Click);
    }
    return contextMenu;
}
void ContextMenuMenuItem_Click(object sender, EventArgs e)
{
    switch (((Telerik.WinControls.UI.RadMenuItem)(sender)).Name.ToUpper())
    {
        case "UNDO":
            //this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.;
            break;
        case "CUT":
            this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Cut();
            break;
        case "COPY":
            this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Copy();
            break;
        case "PASTE":
            this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Paste();
            if (!this.radMaskedEditBox1.MaskedEditBoxElement.Provider.Validate(this.Text))
            {
                this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.TextBoxControl.Undo();
            }

            break;
        case "DELETE":
            this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.Clear();
            break;
        case "SELECT ALL":
            this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.SelectAll();
            break;
        default:
            break;
    }
}


Completed
Last Updated: 21 Jan 2020 12:39 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
A NullReferenceException occurs when closin Visual Studio keeping the form opened for editing. If I close the form's designer, before closing the Visual Studio, this not happen.
1 2 3 4 5 6