I have can I make an Image button have focus while loading the page. I have set the Image button's TabIndex value to "-1" in script side, while pressing tab key the tab index is changing for all the controls exactly inclding Image button, but I want the Image button to be focused while loading the page.
Is there any difference between Image button and other controls? What property or function i've to use to set focus?
I am using the below line to set focus, but it's not working:
ScriptManager1.SetFocus(imgSearch1);
Thanks in advance.