Click here to Skip to main content
15,505,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Can we set focus on browse button of asp:fileupload control?
If yes then how?
Updated 3-Dec-10 1:06am

1 solution

Have a look at these links, they should help you out:
Fileupload Focus property[^]
Set focus on webserver controls[^]
Share this answer
shames(Sam) 3-Dec-10 7:28am    
For your suggestion, but fileupload control have textbox and button.
And asp.fileuplod control has only one id. When I try to focus on it with jquery then in Mozilla cursor goes to browse button while in IE 7 it goes to textbox.

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