RadDropDownList Designer item Selected dosent work

2 posts, 0 answers
  1. Alejandro
    Alejandro avatar
    5 posts
    Member since:
    Jul 2012

    Posted 14 May Link to this post

    Hi.

    Im not sure about if anyone was already reported it, but, when i add some items to RadDropDownList and when i set "Selected" Property to one of them and i accept the changes the "Selected" property is deleted. I'm using Telerik UI For WinForms Q1 2016 SP1.

    I solved this issue establishing directly the property in the designer file just like this:

     

    //
    // radDropDownList2
    //
    this.radDropDownList2.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
    radListDataItem1.Text = "--Seleccione--";
    radListDataItem1.Selected = true;
    radListDataItem2.Text = "Masculino";
    radListDataItem3.Text = "Femenino";
    this.radDropDownList2.Items.Add(radListDataItem1);
    this.radDropDownList2.Items.Add(radListDataItem2);
    this.radDropDownList2.Items.Add(radListDataItem3);
    this.radDropDownList2.Location = new System.Drawing.Point(115, 356);
    this.radDropDownList2.Name = "radDropDownList2";
    this.radDropDownList2.Size = new System.Drawing.Size(125, 20);
    this.radDropDownList2.TabIndex = 29;

  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 17 May Link to this post

    Hello Alex,

    Thank you for writing.

    I was able to reproduce the observed issue. I have logged it in our Feedback Portal. You can track the item for status changes and add your vote for it here.

    Until this is resolved you can set the SelctedItem at runtime.

    Your Telerik Points have been updated for this report.

    Should you have any other questions do not hesitate to ask.
     
    Regards,
    Dimitar
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top