Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
make ig:DropDownProvider readonly
posted

Hello,

Can you please tell me how to make the items in the drop down list provider read only?

I want to prevent the user from editing the selected item as though it is a text box. I would think that would be default behavior - you want the user to pick an item but not edit them.

Thanks very much,

-Bill

Parents
No Data
Reply
  • 10880
    posted

    There is a EditorControl property off the Provider.  This will give you the underlying DropDown control.  From there you have access to all properties including the DropDownDisplayStyle property which can be set to ReadOnly.

    http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=Infragistics35.Web.v10.1~Infragistics.Web.UI.ListControls.DropDownDisplayMode.html

Children