Radcombobox Retaining Previous Value While Selecting New Value

2 posts, 0 answers
  1. Vishwam
    Vishwam avatar
    1 posts
    Member since:
    Jun 2015

    Posted 17 Jun 2015 Link to this post


    We are using RadComboBox control in my asp.net application. Now we have upgraded our telerik library to 2014.2.618.45 telerik version. After upgrading the version, If I enter or select a new value from RadComboBox, it is not getting updated. Instead the old value is still retained in the control.


    DataSource: String Array of times (Eg: "01:00 AM", "02:00 AM" and etc)

    We have two text boxes one is getting start date and another one is for getting end date. Also we have two radcomboboxes one is for getting start time and another one is for end time and added custom validator (Performing this validation using JavaScript method) for both RadComboBox controls to validate end date time should be greater than start date time. 

    1. Assume while loading page the initial value of the controls "06/17/2015" "12:00 AM" in start date & time and "06/18/2015" "12:00 AM" in end date & time. 
    2. Now we are changing start date & time to "06/17/2015" "10:00 AM" and  end date & time to "06/17/2015" "11:00 AM". 
    3. While leaving the cursor from end time RadComboBox, the custom validator triggers the javascript method to validate and the date values in text boxes are getting changed to new one but the time value in the RadComboBoxes are not changed to new value. 
    4. Eventhough the new values are displayed in the RadComboBoxes, while debugging the JavaScript method, we see the previous value getting retained (Start Date time : "06/17/2015" "12:00 AM" and End Date Time "06/17/2015" "12:00 AM") and so the custom validator raises the error.

    So please let us know why the RadcomboBoxes are retaining previous selected value instead of newly entered / selected one and also provide me an appropriate solution to resolve this issue.



  2. Plamen
    Plamen avatar
    2812 posts

    Posted 19 Jun 2015 Link to this post

    Hello Vishwam,

    I have tested the described scenario both locally and on our online demos but could not replicate the described unusual behavior. Would you please provide the exact code that will help use observe it locally and be more helpful with a possible solution?

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top