Pls read my prob..it's urgent and i m beginner...default.aspx & userctl

Last post 03-07-2007 2:01 AM by Jessica Cao - MSFT. 2 replies.

Sort Posts:

  • Pls read my prob..it's urgent and i m beginner...default.aspx & userctl

    03-06-2007, 1:02 PM
    • Loading...
    • miaaa00
    • Joined on 03-06-2007, 4:56 PM
    • Posts 39

    Hello frdz,

             I m a begginer and creating a website on ASP.Net with C# .
     

             I have created 3diff user controls.

    headercontrol.ascx (which contains the images and logo)

    leftmenucontrol.ascx(which contains the static menu once user login)

    midmenucontrol.ascx(which contains the link of home,contactus)

             I have put these 3usercontrols in the form name default.aspx

    Now,my problem is that how can i open the different forms under the default.aspx when i click on the leftmenucontrols which i have created.

    The default.aspx is just like the T shape.Now on the right side of which i want to open the different forms and wanted to keep all the 3controls static.I don't have idea what cld be done to do this...

    Can anyone pls provide me some idea or source code where and what to write to do this...Is Frameset possible if yes,then do pls provide the code..

    Thanxs.......if u understand...read...my problem......and then try to answer to it..........

     

    Waiting for the reply......

    If possible then do mail to me ::

    miaaa00@yahoo.com 


     

     

     


     

  • Re: Pls read my prob..it's urgent and i m beginner...default.aspx & userctl

    03-06-2007, 4:42 PM
    Answer
    • Loading...
    • codeasp
    • Joined on 06-16-2004, 9:19 PM
    • Posts 2,153

    Hi and welcome to the forums.

    If you want to use one aspx page and show different content based on user selection, then you have to use frames.  For more information on frames:

    http://www.w3schools.com/html/html_frames.asp

    Generally, you would create each page differently (home, customers, products, orders etc).  If you are using .NET 2.0, you can use the Master page to create the general layout and derieve all your pages from this Master page.

    Hope this gets you started.

  • Re: Pls read my prob..it's urgent and i m beginner...default.aspx & userctl

    03-07-2007, 2:01 AM
    Answer
    Jessica Cao
    Sincerely,
    Microsoft Online Community Support


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter