I have stumbled upon a very odd bug. The following are the pertinent details:
- You have an aspx web page and on the initial load, you have a hidden display: none div.
- The div that is now shown contains a numeric text box, a rad dropdown, and various other controls.
- The contents of this div are all enclosed in an Update Panel.
- The dropdown in this div causes an async postback
The scene goes like this: User loads page, clicks something to show the hidden div, selects a value from the dropdown, the page posts back and populates another dropdown, the user enters a value in the numeric text box, the user clicks submit. At this point, the page again posts back asynchronously and when the value of the numeric text box is checked, it is Nothing.
If the user enters a value in the numeric text box BEFORE they select a value from the dropdown that causes a postback, the value on submit is accurate. If the user selects a value from the dropdown that causes a postback, then enters a value in the numeric text box, tabs to the next control, then re-enters a different value in the numeric text box, the value on submit is accurate. It is only when you select a value from the dropdown which causes an async postback, enter a value in the numeric text box and submit (tabbing out after or not doesn't make a difference) that the value of numerictextbox.value = Nothing
Any help in troubleshooting this issue would be appreciated. I was using a prior version of the telerik controls, but updated to 2011.2.712.40 and retested, the issue persisted.