I am using ASP.NET 2.0 and VB.NET (C# code will also help me out)
On top of my page I have a button called btnViewRecords. When the User click on the button I want to set focus to another button or label further down on the same page. How can this be done.
This code does not work for me..............
btnTheRecords.Focus()
or
lblHeader.Focus()
Thanks in advance!!
**Edit:**
Even if my code did work, i dont want to reload the page every time.
以上就是Setting focus onto another contol from button click的详细内容,更多请关注web前端其它相关文章!