Urgent Help in ContainPlaceHolder Control

hi experts ... give me support in below problem

i have Masterform and i placed ContainPlaceHolder conrol in it and calling another aspx page in it
so it is like this
1 : Masterpage.master ( Commandbutton1  + CommandButton2 + Containplaceholder control)
2: Informaionpage.aspx ( some textbox)
3: Detail.aspx                ( some textbox + some image)

Infromationpage and Detailpage refrenced to Masterpage,
Now if i need such like this

if i click on CommandButton 1 then in ContainPlaceHolder control  Informaionpage.aspx sould be shown.
same for  CommandButton 1 then Detail.aspx  sould be shown.

?? any help
LVL 3
vsvbAsked:
Who is Participating?

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

x
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.

Ved Prakash AgrawalDatabase Consultant/Performance ArchitectCommented:
Hi  vsvb

One solution for this can be
Both Informaionpage.aspx and  Detail.aspx    have the same master page

On command one click type
  protected void Button1_Click(object sender, EventArgs e)
    {
        Response.Redirect("info.aspx");
    }

On command button two click type
    protected void Button2_Click(object sender, EventArgs e)
    {
        Response.Redirect("details.aspx");
    }

See if it work ?



my complete masterpage code
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Maste_page_MasterPagetest : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        Response.Redirect("info.aspx");
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        Response.Redirect("details.aspx");
    }
}


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
ASP.NET

From novice to tech pro — start learning today.