Hi,
I am using RadControls for ASP.NET AJAX Q1 2010 SP1 in my current project.
Can you please tell me how to deselect the items in a ComboBox after it is initially loaded?
I tried to do it by setting SelectedIndex to -1 as follows but it didn't work.
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if (!IsPostBack) |
| { |
| this.rcbCategory.DataSource = PublisherServer.Categories(); |
| this.rcbCategory.DataTextField = "Name"; |
| this.rcbCategory.DataBind(); |
| this.rcbCategory.SelectedIndex = -1; |
| } |
| } |
Regards,
Herman Gouw