Unplanned
Last Updated: 19 Feb 2020 14:27 by ADMIN
Unplanned
Last Updated: 19 Feb 2020 11:39 by ADMIN

 public RadForm1() 
        {
            RadMapElement.VisualElementFactory = new MyMapVisualElementFactory();
            InitializeComponent();
        } 

 

public class MyMapVisualElementFactory : MapVisualElementFactory
    {
        public override MapCluster CreateCluster()
        {
            System.Diagnostics.Debug.WriteLine("FIRE!");
            return new MapCluster();
        }
    }
Pending Review
Last Updated: 19 Feb 2020 04:57 by Yusi
Created by: Yusi
Comments: 3
Category: PropertyGrid
Type: Bug Report
0

Problem: I'd like to filter the properties to be displayed by their category names defined by the Category attribute. Based on the doc here (https://docs.telerik.com/devtools/winforms/controls/propertygrid/features/filtering), my understanding is to add a FilterDescriptor like this: New FilterDescriptor ("Category", FilterOperator.Contains, "some category name"). But it turned out to only filter by property name, not category name. Any misunderstanding or possible issue? Thank you for looking into this.

Reproduce:

1. Define a class like this:

    Private Class TestClass
        <Category("Cat1")> Public Property Property1 As Integer = 1
        <Category("Cat1")> Public Property Property2 As String = "Test 2"
        <Category("Cat2")> Public Property Property3 As String = "Test 3"
    End Class

2. Initialize a RadPropertyGrid in the Form.Load event:

        Dim testObj As New TestClass
        RadPropertyGrid1.EnableFiltering = True
        Dim filter As New FilterDescriptor("Category", FilterOperator.Contains, "2")
        RadPropertyGrid1.FilterDescriptors.Add(filter)
        RadPropertyGrid1.SelectedObject = testObj

3. The right property to be displayed should be Property3, but it turned out to be Property2

 

Example project: attached.

Thank you team!

 

Unplanned
Last Updated: 18 Feb 2020 11:38 by ADMIN

Hi team,

We need a ChartView with multiple series and multiple Y-axis. The axis color of each Y-axis should be automatically painted according to the palette setting (thank you for the brilliant work - it's very intuitive). However, if clear the series and re-assign a new set of series, the border color of the first axis changes to black, regardless which palette is active. If the palette is set to a new one, the border color can be re-painted correctly. See screenshot as attached.

How to reproduce: Please refer to the attached project for a demo of reproduction. Click the first button to populate new random data. The border color of the first axis should change to black after clicking the button twice and more times. Clicking the second button will force the palette to change and the border color will become normal.

 

Thank you, team.

 

Best,

Yusi

Unplanned
Last Updated: 17 Feb 2020 18:23 by Yannis
Created by: Yannis
Comments: 2
Category: GridView
Type: Bug Report
0

Hello,

I am using a radGridView on a Windows touch screen. When I am trying to scroll the rows by hand (EnableKineticScrolling was set to true), the scrolling process is very slow. If I will use the vertical scrollbar, then it is ok. How can I achieve this without using the vertical scrollbar?

I used EnableFastScrolling=true, but I did not see any improvement.

 

Regards,

Yannis

Unplanned
Last Updated: 17 Feb 2020 14:09 by ADMIN
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


Unplanned
Last Updated: 14 Feb 2020 13:54 by ADMIN

Please refer to the attached sample project and follow the steps illustrated in the provided gif file.

Workaround:

        public RadForm1()
        {
            InitializeComponent();

            this.radPageView1.SelectedPageChanged += radPageView1_SelectedPageChanged;
        }

        private void radPageView1_SelectedPageChanged(object sender, EventArgs e)
        {
            if (this.radPageView1.SelectedPage != this.radPageViewPage1)
            {
                SelectionMiniToolBar selectionMiniToolBar = this.radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar as SelectionMiniToolBar;
                if (selectionMiniToolBar != null)
                {
                    selectionMiniToolBar.Hide();
                }
            }
        }

Unplanned
Last Updated: 14 Feb 2020 13:37 by ADMIN

Please use the following code:

 this.radPanel1.EnableGesture(GestureType.All);
            this.radPanel1.PanGesture += radScrollablePanel1_PanGesture; 

        private void radScrollablePanel1_PanGesture(object sender, PanGestureEventArgs e)
        {

        }

Add several controls in the scrollable panel so the horizontal/vertical scrollbar is shown. If you enable all gestures and try to pan in order to scroll to the added controls, neither the PanGesture event is fired, nor the scrollbar is move.

             
Unplanned
Last Updated: 13 Feb 2020 13:45 by ADMIN

I set the ShowClearButton on the design-time but the clear button not displayed when I run the application.

However, it works fun when I set the ShowClearButton programatically.

            commandBarTextBox1.TextBoxElement.ShowClearButton = true;

Do you know why?

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);
    }
}
Unplanned
Last Updated: 12 Feb 2020 10:01 by ADMIN
Created by: Bill
Comments: 1
Category: WebCam
Type: Bug Report
1
I notice when we take a snapshot the preview flickers.  Is there anyway to avoid this?
Unplanned
Last Updated: 11 Feb 2020 15:13 by ADMIN

Please run the attached sample project.


        private void RadForm1_Load(object sender, EventArgs e)
        {
            RadScrollablePanel panel = new RadScrollablePanel() { Dock = DockStyle.Fill };
            panel.BackColor = Color.Yellow;
            this.Controls.Add(panel);
            for (int i = 0; i < 5; i++)
            {
                panel.Controls.Add(new UserControl1() { Dock = DockStyle.Right, BackColor = Color.Red });
              //  panel.Controls.Add(new UserControl1() { Dock = DockStyle.Bottom, BackColor = Color.Red });

            }
        }

When the RadSplitConatiner is wide enough, the horizontal scrollbar is not shown as expected:

If you shrink the form, the horizontal scrollbar is still not shown:

However, if you dock to Left, the scrollbar is displayed:

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

 

1 2 3 4 5 6