Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have two asp.net text box,
First text box contain name and second one contain clock picker control of Bootstrap.
In web view all controls are working fine but in mobile devices first text box control not shows the virtual keyboard of mobile phone.
but I got the on focus event...

Please help
Thanks in advanced
Posted

1 solution

That is not a job of ASP.NET web application! That is the job of the web browser (or any other host application) to load and present the keyboard to the user too. Since the "onfocus" event is executed it means ASP.NET is doing its job.

By virtual keyboard, do you mean you build a keyboard yourself? If so, then check if it is shown in the bounds of the page. The problem in such cases is that you may hardcode the location of the keyboard. Due to which, your keyboard may be shown (or present on screen) but may be out of bounds of your current view port.

You should consider trying to find an answer for, "keyboard not showing in {your phone}'s browser when clicking an input field". Google may give you an answer, or you may find an already solved (or waiting to be solved) problem thread on the internet.
 
Share this answer
 
Comments
Vishnu Vachhani 9-Jan-16 6:14am    
Thanks for your reply..
Is there any problem with all mobile phone browser....??
If yes then what is the specific problem with all browser.
I tested in 4 mobile phone browser that is chrome, Firefox, Opera, UC Browser.
No I don't build a keyboard myself but the mobile browser keyboard is not workin
Afzaal Ahmad Zeeshan 9-Jan-16 6:31am    
You did not tell me whether you created the keyboard or are you using the default one.

If the case is with the default one, then check with your keyboard or report the problem. If you created it, then check if the bounds are within the viewport.

The ASP.NET code is fine, because you have yourself claimed that "onfocus" event is raised. The keyboard should pop in. If the problem persists, please share the code in your question.
aarif moh shaikh 9-Jan-16 6:35am    
Agree with you +5
Afzaal Ahmad Zeeshan 9-Jan-16 7:29am    
Thank you, Aarif.
Vishnu Vachhani 9-Jan-16 6:37am    
No I uses the default keyboard.
I tested an application in more than 3-4 mobile phone but same problem is rises.
Is there any problem regarding the jQuery of timepicker...??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900