Try removing the
AutoPostBack property as it is not needed.
I have used
TabContainer before and there is no
AutoPostBack property set.
Please let me know if it works for you or not.
If it will not work for you, then I have some links with me to do it in an other way... I will post those here by Improving my Answer.
Updated answer
I have searched for your issue and after a lot of research what I found is...
-> When Page directive autoeventwireup is true and you attach an event OnInit to things like Page_Load, those events will be raised twice, making it look like double postback. It could be semething else, too.
-> The problem also occurs when you have
TabContainer inside one
UpdatePanel, which is, I guess, your case.
Solutions
1. Set AutoEventWireup to false (this will also disable some custom control that was wired up)
2. For those who required
AutoEventWireup to be true, just make sure all post back controls or buttons should not be server controls, instead they must be standard
HTML
tags and should NOT have
runat="server"
. Now you have to remove
AutoPostback for
TabContainer and do all the work with
javascript...
And if you search in google for doing all the work in
javascript you will find a lot of links...
Google- ajax tabcontainer and javascript[
^].
Just try to implement and let me know...
Thanks...