Wednesday, March 21, 2012

Default button with updatepanel

Hello,

I have got a trouble with default button on a web page with a updatepanel component. When I use my code outside the updatepanel the default button is always ok and focus on my textbox already.

But if I put the same code inside a UpdatePanel each time I enter a value into my textbox and press enter I lost the focus and default button too!!! why?

I try to put defaultbutton and focus on the form, on the page load by form1.defaultbutton etc...by a findcontrol inside the updatepanel etc...

If someone can help me please...

Stephane

refer to following link

http://forums.asp.net/p/1007125/1337913.aspx

No comments:

Post a Comment