dont allow edit of textbox in a dropdownlist

2 posts, 1 answers
  1. Hannes
    Hannes avatar
    8 posts
    Member since:
    Oct 2006

    Posted 04 Mar 2011 Link to this post

    Is there a way to make the textbox part of a dropdownlist readonly (so it works more like a html dropdown) ?
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 04 Mar 2011 Link to this post


    To change the drop down so that the dropdown style does not allow altering the text, you should change the RadDropDownList.DropDownStyle.

    this.radDropDownList1.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;

    Hope that helps
  3. DevCraft banner
Back to Top