Is there a major difference between the Multiview control in ASP.NET 2.0 and the Tab control in the AjaxToolkit?
Other than the built in visuals of the tab control, is there anything different in the way they handle the hiding/showing of controls?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a big difference. The Ajax tab control will do all tab switching client side, which means there is no postback/callback when switching tabs. The traditional tab control makes a postback every time you switch.
This means that the ActiveTabChanged event won’t fire, unless you set AutoPostBack to true. There is an event called ClientActiveTabChanged that fires in javascript, though, so you could use that instead of forcing a postback.