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

[Solved] Issue with Combobox and RequiredFieldValidator

1 Answer 121 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 14 Jan 2010, 05:06 PM
In order to reproduce the issue,
1. Go to http://www.chevronlubricants.com/
2. Select United states as your country, and click "Go" button.
3. Click on "Select a Country" link at the the top right hand corner
4. You will go back to /welcome.aspx where the Combobox remembers the "United States" setting. Without changing anything in the combobox, click "Go" button.
5. You will see the issue, which is that instead of posting back correctly, it just refreshes the page and loses the "United States" setting.

There is a requiredfieldvalidator on the combobox, which appears to work correctly, except this weird postback issue when coming to the /welcome.aspx for a second time

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 26 Jan 2010, 12:28 PM
Hello Ninh Nguyen,

There could be various causes for such behavior.

Could you please describe in more detail how you are creating the Items in the RadComboBox in question and how are you restoring the selected Item after you return to the welcome.aspx page?

If you are able to provide the code here, please do so as it could also help in detecting the issue.

Best wishes,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or