Do framesets work in asp.net?

Discussion in 'ASP .Net' started by Aaron, Sep 22, 2004.

  1. Aaron

    Aaron Guest

    I have created five aspx pages, with a panel and controls on each. I would
    like to create a frameset, and include each of these pages.

    When I add new item...frameset and then set my pages, I get a parser error
    in the frame indicating:
    "could not load type WebBizDev.Dashboard"
    the error is on line one and the line is as follows:
    <%@ Page Language="vb" AutoEventWireup="false"
    Codebehind="Dashboard.aspx.vb" Inherits="WebBizDev.Dashboard"%>

    This happens for all of the pages I try to set. What is going on here? Is
    there a different way I should approach this?
     
    Aaron, Sep 22, 2004
    #1
    1. Advertising

  2. I suggest you stay away from frames in ASP.NET.
    They can be quite cumbersome.
    Instead I suggest you divide logical sections of your page into user
    controls.

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net



    "Aaron" <> wrote in message
    news:...
    >I have created five aspx pages, with a panel and controls on each. I would
    > like to create a frameset, and include each of these pages.
    >
    > When I add new item...frameset and then set my pages, I get a parser error
    > in the frame indicating:
    > "could not load type WebBizDev.Dashboard"
    > the error is on line one and the line is as follows:
    > <%@ Page Language="vb" AutoEventWireup="false"
    > Codebehind="Dashboard.aspx.vb" Inherits="WebBizDev.Dashboard"%>
    >
    > This happens for all of the pages I try to set. What is going on here?
    > Is
    > there a different way I should approach this?
    >
    >
    >
     
    Steve C. Orr [MVP, MCSD], Sep 22, 2004
    #2
    1. Advertising

  3. Aaron

    Bob Moore Guest

    On Wed, 22 Sep 2004 09:50:43 -0700, Steve C. Orr [MVP, MCSD] wrote:

    >I suggest you stay away from frames in ASP.NET.
    >They can be quite cumbersome.


    What's the problem with frames? we'll be looking at a prototype port
    to an ASP.Net environment in the next few months, and the most obvious
    solution to matching our thick client UI was frames. I would be very
    disappointed to hear that ASP had issues with them.

    --
    Bob Moore
    http://bobmoore.mvps.org/
    (this is a non-commercial site and does not accept advertising)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Do not reply via email unless specifically requested to do so.
    Unsolicited email is NOT welcome and will go unanswered.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
    Bob Moore, Sep 22, 2004
    #3
  4. It can be done, but it's not easy. You'll need to use a lot of client side
    javascript to pass data around and keep pages in various frames in sync. In
    most cases it's better to have everything on one page, but divide sections
    into separate user controls so it's more object oriented, maintainable, and
    reusable.
    A notable exception is MSDN's library web site which has good reason to have
    a separate frame to hold the huge, bandwidth hogging treeview.
    http://msdn.microsoft.com/library/default.asp

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://Steve.Orr.net




    <Bob Moore> wrote in message
    news:...
    > On Wed, 22 Sep 2004 09:50:43 -0700, Steve C. Orr [MVP, MCSD] wrote:
    >
    >>I suggest you stay away from frames in ASP.NET.
    >>They can be quite cumbersome.

    >
    > What's the problem with frames? we'll be looking at a prototype port
    > to an ASP.Net environment in the next few months, and the most obvious
    > solution to matching our thick client UI was frames. I would be very
    > disappointed to hear that ASP had issues with them.
    >
    > --
    > Bob Moore
    > http://bobmoore.mvps.org/
    > (this is a non-commercial site and does not accept advertising)
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > Do not reply via email unless specifically requested to do so.
    > Unsolicited email is NOT welcome and will go unanswered.
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
    Steve C. Orr [MVP, MCSD], Sep 22, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. terry

    Unhandled Exceptions & Framesets

    terry, Jul 2, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    443
    Bassel Tabbara [MSFT]
    Jul 3, 2003
  2. Sue
    Replies:
    15
    Views:
    800
    Marshal Antony
    Jan 21, 2004
  3. Andy Fish

    forms authentication with framesets

    Andy Fish, Jun 12, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,634
    Andy Fish
    Jun 12, 2004
  4. Leo Violette
    Replies:
    2
    Views:
    441
    Leo Violette
    Mar 19, 2009
  5. Martin Franklin

    How do I use asp to protect framesets

    Martin Franklin, Jan 13, 2005, in forum: ASP General
    Replies:
    5
    Views:
    152
    Adrienne
    Jan 15, 2005
Loading...

Share This Page