ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
DatePicker always get focus
Title:
B
I
{code}
?
I have a popupform where there are : a textboxfor (readonly) a AjaxDropdow a DatePicker when call the popup, DatePicker get always the focus so , I see the popup with DatePicker dialog opened, I tried also to force the focus to textboxfor setting autofocus, but do same, How can I do do don't show the DatePicker dialog at popup start ?
Save Changes
Cancel
mtugnoli
asked at 20 Feb 2014
Answers
B
I
{code}
?
in the next version this will be easier to modify/turn off, but atm you could write a js and put it in that popup to unfocus it or to focus something for example <script> $(function(){ $('#mydropdown').focus(); }); </script>
Save Changes
Cancel
Omu
answered at 20 Feb 2014
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK