Frameset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Helixpoint

    Frameset

    How do you do a frameset in an aspx page?

    --

    _______________ _______
    David Fetrow
    HelixPoint LLC.

    davef@helixpoin t.com

    Interested in Affordable Email Marketing?
    Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
    If you are interested in becoming a Reseller of HelixPoint products, contact
    davef@helixpoin t.com
    _______________ _______


  • Kevin Spencer

    #2
    Re: Frameset

    I'm a bit confused. A Frameset is a frameset. It's not an ASP.Net entity;
    it's an HTML entity. You do it the same. Unless I'm misunderstandin g your
    question.

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer

    Big things are made up of
    lots of Little things.

    "Helixpoint " <dave@helixpoin t.com> wrote in message
    news:ewhLw7xODH A.1364@TK2MSFTN GP10.phx.gbl...[color=blue]
    > How do you do a frameset in an aspx page?
    >
    > --
    >
    > _______________ _______
    > David Fetrow
    > HelixPoint LLC.
    > http://www.helixpoint.com
    > davef@helixpoin t.com
    >
    > Interested in Affordable Email Marketing?
    > Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
    > If you are interested in becoming a Reseller of HelixPoint products,[/color]
    contact[color=blue]
    > davef@helixpoin t.com
    > _______________ _______
    >
    >[/color]


    Comment

    • Helixpoint

      #3
      Re: Frameset

      sorry in Visual Studio??
      I figured it out



      "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> wrote in message
      news:OMR0kayODH A.1748@TK2MSFTN GP11.phx.gbl...[color=blue]
      > I'm a bit confused. A Frameset is a frameset. It's not an ASP.Net entity;
      > it's an HTML entity. You do it the same. Unless I'm misunderstandin g your
      > question.
      >
      > HTH,
      >
      > Kevin Spencer
      > Microsoft FrontPage MVP
      > Internet Developer
      > http://www.takempis.com
      > Big things are made up of
      > lots of Little things.
      >
      > "Helixpoint " <dave@helixpoin t.com> wrote in message
      > news:ewhLw7xODH A.1364@TK2MSFTN GP10.phx.gbl...[color=green]
      > > How do you do a frameset in an aspx page?
      > >
      > > --
      > >
      > > _______________ _______
      > > David Fetrow
      > > HelixPoint LLC.
      > > http://www.helixpoint.com
      > > davef@helixpoin t.com
      > >
      > > Interested in Affordable Email Marketing?
      > > Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
      > > If you are interested in becoming a Reseller of HelixPoint products,[/color]
      > contact[color=green]
      > > davef@helixpoin t.com
      > > _______________ _______
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Jacky Kwok

        #4
        Re: Frameset

        Kevin Spencer wrote:[color=blue]
        > I'm a bit confused. A Frameset is a frameset. It's not an ASP.Net entity;
        > it's an HTML entity. You do it the same. Unless I'm misunderstandin g your
        > question.
        >
        > HTH,
        >[/color]

        Hi:

        Just a little bit comment.

        Yes, a frameset is basically a HTML entity only. However, ASP.NET can
        still give some programming fucntion to it.

        e.g. dynamically decide the frame source.

        //--WebForm1.aspx

        <%@ Page language="c#" Codebehind="Web Form1.aspx.cs"
        AutoEventWireup ="false" Inherits="_2003 0626_Frame.WebF orm1" %>
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
        <html>
        <head>
        <title>WebForm1 </title>
        <meta name="GENERATOR " Content="Micros oft Visual Studio 7.0">
        <meta name="CODE_LANG UAGE" Content="C#">
        <meta name="vs_defaul tClientScript" content="JavaSc ript">
        <meta name="vs_target Schema"
        content="http://schemas.microso ft.com/intellisense/ie5">
        </head>
        <frameset rows="*,*">
        <%=GetFrame1()% >
        <%=GetFrame2()% >
        </frameset>
        </html>

        //--WebForm1.aspx.c s
        public class WebForm1 : System.Web.UI.P age
        {
        private void Page_Load(objec t sender, System.EventArg s e)
        {
        // Put user code to initialize the page here
        }

        #region Web Form Designer generated code
        override protected void OnInit(EventArg s e)
        {
        //
        // CODEGEN: This call is required by the ASP.NET Web Form Designer.
        //
        InitializeCompo nent();
        base.OnInit(e);
        }

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeCompo nent()
        {
        this.Load += new System.EventHan dler(this.Page_ Load);
        }
        #endregion

        public string GetFrame1()
        {
        return "<frame name=\"top\" src=\"http://www.microsoft.c om\" >";
        }

        public string GetFrame2()
        {
        return "<frame name=\"top\" src=\"http://msdn.microsoft. com\" >";
        }
        }
        //--


        We can use the ASP.NET programming to do anything , for example check
        user login or not.

        Change to display different frames depends on what information in the
        session, etc.


        Maybe someone does not agress to use frameset in ASP.NET. However, I
        just point out a probability.

        --
        Jacky Kwok
        jacky@alumni.cu hk.edu.hk
        jacky@compose.c om.hk

        Comment

        Working...