Clearing the control for the Telerik RadDropdownList

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.

When you need a RadDropDownList to appear empty and non-interactive, the most dependable approach is to clear the selection, remove all items, and then disable the control. Telerik controls maintain state aggressively, so performing all three steps ensures the UI reflects the change immediately and doesn't repopulate itself on the next postback.
Here's the exact pattern:

 

ddlPackageCount.ClearSelection()
ddlPackageCount.Items.Clear()
ddlPackageCount.Enabled = False

 

1. ClearSelection()
This removes any currently selected item. Even if the dropdown is later disabled, Telerik will still show the previously selected value unless you explicitly clear it. This call guarantees the control has no active selection.
2. Items.Clear()
This wipes out the entire Items collection. It's the most direct way to ensure the dropdown displays as empty. Because this approach doesn't rely on data binding, it works consistently whether the control was populated manually, through a DataSourceID, or via NeedDataSource.
3. Enabled = False
Finally, disabling the control prevents user interaction and visually communicates that the dropdown is no longer available. Telerik applies its built-in disabled styling automatically, so no additional CSS is required.


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences