Masterpage MulitView UpdatePanel Postback Problem!

I created a Multiview (3 views), Textboxes and Button inside an UpdatePanel. It worked fine until I included the code in a Masterpage site. Now I get page postback everytime I click any button. As advised, I have since used a seperate UpdatePanel for each View, but still same problem. Here's a simplified code example...

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<asp:MultiView ID="MultiView1" runat="server">

<asp:View runat="server" ID="view1">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<asp:TextBox ID="textbox1" runat="server" Width="100px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="View1" OnClick="Button1_Click1" />

<asp:View runat="server" ID="view2">
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<asp:TextBox ID="textbox2" runat="server" Width="100px"></asp:TextBox>
<asp:Button ID="Button2" runat="server" Text="view2" OnClick="Button2_Click" />

<asp:View runat="server" ID="view3">
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<asp:TextBox ID="textbox3" runat="server" Width="100px"></asp:TextBox>
<asp:Button ID="Button3" runat="server" Text="view3" OnClick="Button3_Click" />



Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try to put multiview control inside of an other UpdatePanel and set in all the UpdateMode property do Condition.
pointemanAuthor Commented:
pointemanAuthor Commented:
OKay, found the answer after conducting a stacktrace:
The 'ScriptResource.axd' path was missing in the web.config
So, now everything works fine. I've been fighting this all day..
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.