Clearing the control for the Telerik RadDropdownList
* This article, and all our great Telerik ASP.NET documentation, Is available on the Telerik ASP.NET menu
Clearing and disabling a Telerik RadDropDownList sounds simple, but if you’ve worked with Telerik controls in ASP.NET WebForms, you already know they don’t always behave like standard dropdowns. Auto-binding, view state, and stored selections can all cause the control to “remember” values you thought you removed. When you need the dropdown to be visually empty and completely inactive, you want a reliable, server-side pattern that works every time. This article shows the simplest, most predictable way to clear a RadDropDownList and disable it in one step.
|