AjaxControlToolkit
AjaxControlToolkit copied to clipboard
ComboBox: Text in ViewState not cleared on PostBack
The AJAX Control Toolkit 20.1.0
The installation method
- [ ] Installer
- [x] NuGet package
- [ ] A custom build from the source code
Minimal steps to reproduce the bug
On a page with a ComboBox, perform the following steps:
- Enter some text into the ComboBox.
- Press Submit.
- Remove the text from the ComboBox.
- Press Submit.
Actual result
The text entered in step 1 reappears in the ComboBox.
Expected result
The ComboBox would remain clear, as a TextBox does.
Browser(s) used
- Edge 85.0.564.51
- Firefox 80.0.1
- Internet Explorer 11
A site deployment method
- [x] VS development web-server,
- [ ] IIS
Sample project: https://gist.github.com/kevinoid/c33524d38084b9720adc7a6549219041
Thanks, Kevin