This is a migrated thread and some comments may be shown as answers.

RadComboBox item select, disable and then postback causes inconsistent behavior (?)

1 Answer 146 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Adrian
Top achievements
Rank 1
Adrian asked on 05 Sep 2008, 12:51 PM
Hello,

I'm using RadControls for ASPNET AJAX Q1 2008. The RadComboBox has an inconsistent behavior when server-side disabling the selected item, rendering the page to the client and doing a postback. I have done the following:
Server side:
 - populate combo
 - select an item
 - disable some items (the selected item included)
Send page to client
 - client's selected value is the disabled item
 - do a postback
 - server's selected value for the combo is the first element in the list.

The inconsistency is that the client's view of the selected item is different from the server's value of the selected item when that item is selected and disabled from server side and the client does not change this value.

Is this intentional or is there a hotfix for this inconsistency?

Thanks,
Adi Muresan
misoft systems

1 Answer, 1 is accepted

Sort by
0
Helen
Telerik team
answered on 08 Sep 2008, 02:55 PM
Hello Adrian,

We tried to reproduce the problem with the 2008.1.619.20 version of the Telerik.Web.UI controls, but to no avail.
Please find attached a sample project as part of our local tests.
What is the difference in your case? Are we missing something?


Regards,
Helen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Adrian
Top achievements
Rank 1
Answers by
Helen
Telerik team
Share this question
or