RadComboBox not keeping checked item state

2 posts, 0 answers
  1. Darshan
    Darshan avatar
    2 posts
    Member since:
    Jan 2012

    Posted 04 Jun 2012 Link to this post

    I am having an issue with RadComboBox not keeping the selected item on postback on my Local where as same code is working fine on the production server or any of my team's local machine. I am not sure when i started having this problem but until i was debugging a page which has a RadComboBox.
    <telerik:RadComboBox ID="ddlcmd" runat="server" CheckBoxes="true" Width="300px" OnClientItemChecked="OnClientItemChecked" AllowCustomText="false">
                       <telerik:RadComboBoxItem Text="item1" checked="true" />
                       <telerik:RadComboBoxItem Text="item2" checked="true" />
                       <telerik:RadComboBoxItem Text="item3" />
                       <telerik:RadComboBoxItem Text="item4" checked="true" />

    function OnClientItemChecked(sender, eventArgs) {
         var item = eventArgs.get_item();
         sender.set_text("You checked " + item.get_text());

    During runtime when i check item3 then on post back the dropdown still has just three items checked. On further investigation the RadGrid on the same page as well as other pages do not sort Ascending / Descending while the same code works find on prod or any of my teams local machine. The grouping of the RadGrid works fine though. These controls were working perfectly and the only thing i can think of is i had recently ran the Telerik.Web.UI_2012_1_411_Dev installer i downloaded from Telerik itself in order to grab and manipulate the RadEditor's Tools pop controls.

    I usually just make reference to the Telerik Dlls in the project so I uninstalled the Telerik control thinking that would fix the issue and deleted asp.net temporary files, restarted IIS couple of times, Clean, Rebuild etc but no luck . The only option i have right now is to uninstall the VS2010 and reset up my machine(which is a pain) for team development --but i'd like to know if there is an easier way to resolve this issue??
  2. Ivana
    Ivana avatar
    657 posts

    Posted 07 Jun 2012 Link to this post

    Hi Darshan,

    I have replied to your queries in the support thread you have started, concerning this behavior. You could refer to it for more information.
    Please allow me to suggest we continue our conversation in there so to avoid misunderstanding and possible discrepancies.

    Thank you.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top