sirola
06-08-2004, 08:38 AM
Hello,
I have problem in my web application and my web form. I have 5-6 buttons (web controls) and when I have focus on some text box, always one button becomes default and got focus, and after I write something in text box and press Enter I invoke that button method ?!?! But this is not button I want to be default. I set tab orders and nothing always that button becomes default when I am on some text box on web form. How can I set default button to other button which (in my case "Next"). Please help me.
I am working in VS.NET 2002 in C#.
ozren.sirola@ri.htnet.hr
Shixx
I have problem in my web application and my web form. I have 5-6 buttons (web controls) and when I have focus on some text box, always one button becomes default and got focus, and after I write something in text box and press Enter I invoke that button method ?!?! But this is not button I want to be default. I set tab orders and nothing always that button becomes default when I am on some text box on web form. How can I set default button to other button which (in my case "Next"). Please help me.
I am working in VS.NET 2002 in C#.
ozren.sirola@ri.htnet.hr
Shixx