Approved
Last Updated: 12 Nov 2019 14:59 by ADMIN
To reproduce: please run the application provided in the ticket. You will notice that RadGridView stops updating.

Workaround: use MethodInvoker for the update operation:

        private void readTicks()
        {
            DateTime now = DateTime.Now;
            Tick previouse = null;
            for (int i = 0; i < lines.Length; i++)
            {
                if (canceled)
                    return;

                var t = new Tick();

                try
                {
                    try
                    {
                        JsonConvert.PopulateObject(lines[i], t);
                    }
                    catch
                    {
                        continue;
                    }


                    var c = contracts[t.ContractId];
                    c.Row[(int)t.TickType] = t;
                    c.CurrentTickSetNr++;

                    if (this.radGridView1.InvokeRequired)
                    {
                        this.radGridView1.Invoke(new MethodInvoker(delegate { c.Fire(t); }));
                    }
                    else
                    {
                        c.Fire(t);
                    }

                    previouse = t;
                    OnTick?.Invoke(c.ConId, i);
                }
                catch (Exception e)
                {
                    Debug.WriteLine(e.Message);
                }
            }

            OnDone?.Invoke(this, new EventArgs());
        }
Approved
Last Updated: 05 Jun 2019 12:30 by Desislava
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 1
Category: UI Framework
Type: Bug Report
0
After revamping the documentation for the Telerik UI for WinForms product, the following problems occurred:

1. Search for a specific class or method in the search box in the following site: https://docs.telerik.com/devtools/winforms/introduction. Select one of the results referring to the API documentation. As a result you will be navigated to the main page of the API reference instead of to the respective class or method. Refer to the Problem1.gif file. It seems that the search results from the API reference return old links for the previous API link pattern.

2. The search box in https://docs.telerik.com/devtools/winforms/api/ is significantly lagging while typing. We should consider performing the search operation after pressing Enter and not with each keystroke. Please refer to the Problem2.gif file.

3.  When you scroll the navigation view on the left side to a certain position and select an article, the vertical scrollbar sometimes gets reset to the top position and you have to scroll back.  (Note that this problem is not reproduced each time).
Approved
Last Updated: 31 Dec 2018 09:43 by ADMIN
Use attached to reproduce inside VisualStudio 2017.

1. Run "1342574 ListControl" project
2. Add CodedUI test in "1342574 CodeUISample" project. ("Record actions, edit UI map or add assertions" option)
3. After starting recording, click inside radGridView cell, type something and click Tab.
4. Pause and Generate Code.

After running the recorded CodedUI test and you will see that it clicks on the grid cell but does not type any text.

Note that the issue is not reproducible in VS 2012.
 
Approved
Last Updated: 21 Feb 2018 13:19 by ADMIN
How to reproduce: check the attached project and compare the font size of the two labels. Also when the form is moved from a screen with HDPI to a standard screen with DPI=96 the font does change.
Approved
Last Updated: 20 Nov 2017 16:07 by ADMIN
Workaround: 
The vsdiffmerge.exe merge tool in Visual Studio 2017 is usually located here: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer. You will need to create one additional folder named Ide inside the Team Explorer folder Then you can copy the vsdiffmerge.exe file from the Team Explorer folder to the newly created Ide folder. You can check the attached vsdiffmerge-path.png screenshot.

Then you can create the environment variable like this:
Variable name: VS120COMNTOOLS
Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\IDE
Approved
Last Updated: 30 Aug 2017 07:34 by Jorman
To reproduce:
1. Add HelpProvider on the form.
2. Add RadButton(or any other RadControl).
3. Use the following code:
this.helpProvider1.SetHelpString(this.radButton1, "RadButton help message.");
this.MaximizeBox = false;
this.MinimizeBox = false;
this.HelpButton = true;
4. Run the form, click form's help button and then click the button. - Help dialog is shown and instantly closed.

Workaround:
Subscribe to the control's HelpRequested event and show a tooltip.
this.helpProvider1.SetShowHelp(this.radButton1, false);
this.radButton1.HelpRequested += Control_HelpRequested;

private void Control_HelpRequested(object sender, HelpEventArgs hlpevent)
{
    Control control = sender as Control;
    if (control == null)
    {
        return;
    }

    hlpevent.Handled = true;
    RadToolTip tip = new RadToolTip();
    tip.Show(this.helpProvider1.GetHelpString(control), 3000);
}
Approved
Last Updated: 14 Aug 2017 10:58 by ADMIN
Use attached to reproduce.
Approved
Last Updated: 27 Jun 2016 11:37 by ADMIN
To reproduce:
- Add RadDropDownListElement to a ribbon group
- Disable then enable the control.
- Additional button border is shown

Workaround:
radDropDownListElement1.Padding = new Padding(0);
Approved
Last Updated: 06 Apr 2016 15:29 by ADMIN
To reproduce: 
1. Use the following code snippet:
public class ViewModel:INotifyPropertyChanged
{
    public ViewModel()
    {
    }

    private bool _isShown;

    public bool IsShown
    {
        get
        {
            return this._isShown;
        }
        set
        {
            this._isShown = value;
            OnPropertyChanged("IsShown");
        }
    }

    public event PropertyChangedEventHandler PropertyChanged;

    protected void OnPropertyChanged(string propertyName)
    {
        PropertyChangedEventHandler handler = PropertyChanged;
        if (handler != null)
            handler(this, new PropertyChangedEventArgs(propertyName));
    }
}

2. Add a MS Panel and a RadPanel to the form.
3. Add Panel.DataBindings at design time for its Visible property to the ViewModel.IsShown property.
4. When you run the application, the MS Panel is not visible. However, if you remove the RadPanel it is shown. Please refer to the attached sample video illustrtaing better the performed steps.

Approved
Last Updated: 30 Mar 2016 14:02 by ADMIN
FIX. RadBreadCrumb's ThemeName drop down does not display TelerikMetroTheme, when the latter is added to the form. However, if you type in the theme name, it is correctly applied.

Note: the same problem is noticed for VisualStudio2012Dark theme as well. 

Workaround: set the theme at run time by using the ThemeName property.
Approved
Last Updated: 30 Mar 2016 14:00 by ADMIN
Approved
Last Updated: 30 Mar 2016 14:00 by ADMIN
To reproduce: add a RadButtonElement to the a RadRibbonBar group. Set its Text property to "<html>html formatted text" and the Enabled property to false. By default, its UseCompatibleTextRendering property is set to true, but the text is rendered blurred. Please see the attached file.
Approved
Last Updated: 30 Mar 2016 13:59 by ADMIN
To reproduce:
- Add the map control to RadSplitContainer (take the map control from here: www.vdstech.com)
- Zoom with two finger gesture on a touch screen.
Approved
Last Updated: 30 Mar 2016 13:59 by ADMIN
To reproduce:

Add a RadShortcut to a RadMenuItem which is in a context menu:

RadContextMenu m = new RadContextMenu();

RadGridView grid = new RadGridView
{
    Parent = this,
    Dock = DockStyle.Fill
};

RadContextMenuManager mm = new RadContextMenuManager();
mm.SetRadContextMenu(grid, m);

RadMenuItem rtsmNew = new RadMenuItem("New");
rtsmNew.Click += rtsmNew_Click;

RadShortcut rs = new RadShortcut(Keys.None, Keys.F2);
rtsmNew.Shortcuts.Add(rs);
rtsmNew.HintText = rs.GetDisplayText();

m.Items.Add(rtsmNew);

..

private void rtsmNew_Click(object sender, EventArgs e)
{
        new Form().ShowDialog();
}



Workaround:

Check whether the context menu is visible before showing the form:

private void rtsmNew_Click(object sender, EventArgs e)
{
    RadMenuItem item = sender as RadMenuItem;
    if (item.ElementTree.Control.Visible)
    {
        (item.ElementTree.Control as RadContextMenuDropDown).ClosePopup(RadPopupCloseReason.CloseCalled);
        new Form().ShowDialog();
    }
}

Approved
Last Updated: 30 Mar 2016 13:59 by ADMIN
ADMIN
Created by: George
Comments: 0
Category: UI Framework
Type: Bug Report
1
To reproduce:

Set an image to the ImagePrimitive of the RadButtonElement of RadButton. Also set the ImageLayout property to Stretch, Zoom or anything else. You will see that this property has no effect.

Workaround:

Use LightVisualElement. This is how it can be used as control:

[ToolboxItem(true)]
public class RadLightVisualButton : RadControl
{
    private RadLightVisualButtonElement buttonElement;


    public RadLightVisualButtonElement ButtonElement
    {
        get
        {
            return buttonElement;
        }
    }


    protected override void CreateChildItems(RadElement parent)
    {
        base.CreateChildItems(parent);


        this.buttonElement = new RadLightVisualButtonElement();
        parent.Children.Add(this.buttonElement);
    }
}


public class RadLightVisualButtonElement : LightVisualElement
{
    protected override Type ThemeEffectiveType
    {
        get
        {
            return typeof(LightVisualElement);
        }
    }
}

Approved
Last Updated: 30 Mar 2016 13:57 by ADMIN
If you fill a WrapLayoutPanel with some content and set it to the ViewPort property of the RadScrollViewer, you will notice that RadScrollViewer will not scroll the panel correctly.

Workaround: http://www.telerik.com/forums/scrolling-using-wraplayoutpanel#yirv_YCJAESwbvexlHks8Q
Approved
Last Updated: 30 Mar 2016 13:56 by ADMIN
Create a theme using the old Visual Style Builder and load this theme in your project using RadThemeManager. Let's say that this theme is for a panel. Set the ThemeName of the panel to your custom theme. Then, close the designer, clean the project and close Visual Studio. Now reopen VS and the designer - you will notice that the theme is not applied at design-time until you click on RadThemeManager or perform another action in the designer.
Approved
Last Updated: 30 Mar 2016 13:56 by ADMIN
1. Create a new project with RadChartView.
2. Add a Cartesian chart with a large number of points (10000 for example).
3. Set animations for every point.
4. Run the project - it will crash.
Approved
Last Updated: 30 Mar 2016 13:55 by ADMIN
Try to add a relative theme path in RadThemeManager
Approved
Last Updated: 30 Mar 2016 13:55 by ADMIN
I have a somewhat complex datasource with nested classes and collections of classes (called ReportConfiguration in my attached sample). I've created a sample app that illustrates the error when I try to databind using telerik controls; I get a runtime error that it cannot find one of the nested classes. Using standard .NET controls (FormMS), I do not get this error.
1 2