I have a page which has a textbox and button. When the page is loaded the cursor is in the textbox. This was done with this line of code
placed inside the Page_Load event.
This is the only textbox on the screen. If the user clicks on the screen the cursor is no longer in the textbox. What I am hoping to do is force the cursor to stay in the textbox even if the user clicks on the page.
Is there any way I can force the cursor to stay in the textbox?