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

Radcombobox Retaining Previous Value While Selecting New Value

1 Answer 289 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Vishwam
Top achievements
Rank 1
Vishwam asked on 17 Jun 2015, 02:34 PM

Hi,

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.

Scenario:

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.

Thanks,

Vishwam.

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 19 Jun 2015, 07:04 AM
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?

Regards,
Plamen
Telerik
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
Tags
ComboBox
Asked by
Vishwam
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or