Wednesday, March 19, 2008

Default focus on submit button

//write code on page load
Page.RegisterHiddenField("__EVENTTARGET", Button1.ClientID);

2 comments:

vimal tiwari said...

Really i got a lot of help through this, for this i thanks to Prabhat very much.

RD said...

Tomw. I will give u a better solution..