altternative to frames

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default altternative to frames

    Hi

    If you want Content Frame in scroll bar use div tag.

    HTH
    Ravikanth

    >-----Original Message-----
    >ok, Everyone hates frames in .Net. I get this. I
    >understand that user controls should be used to handle
    the
    >same functionality but I have a few questions. Below is
    a
    >crude outline of a page.
    >
    >-------------
    >Header Frame
    >-------------
    >Content Frame
    >-------------
    >Footer Frame
    >-------------
    >
    >I need the header to always be at the top and the footer
    >always at the bottom, in other words always visible.
    >
    >The header and footer are dynamic in that they have
    >different buttons show up depending on the content frame
    >(I think we worked out how to make this happen).
    >
    >The issue is that the content frame needs to scroll in
    >some case and not in others.
    >
    >Is the common practice to then create a user control for
    >the content frame?
    >
    >If this is the case I have about 100 pages to create so
    in
    >essence I create 100 user controls as well. Is this
    right?
    >
    >Can I just have one aspx page and dynamically change the
    >content control?
    >
    >Last question, I promise. We use form based security
    from
    >a table I assume I could deny access to the contol based
    >on checking the tbale (simulating not loadin the page).
    >
    >Sorry for all the questions but this is quite new.
    Thanks
    >in advnace for any advice and input.
    >.
    >
    Ravikanth[MVP] Guest

  2. Similar Questions and Discussions

    1. Using FRAMES
      I'm some-what new to dreamweaver. I built 6 sites that are pretty simple. I would like to start using frames. Can someone please guide me through...
    2. Frames Help
      I have a site with a side frame that is acting a little bit wierd, and i cant figure out why. The side frame basically calls other things, using...
    3. frames and php
      I have a html page divided into three frames (and I'm a total newbie to php) if i need to say click on an image in the first frame which I...
    4. new frames
      every time i create a frame 2 or wut ever it is the same as frame 1. i dont know how to make that frame its own frame
    5. Help with frames!
      Hi. I am creating a page consisting of three vertical Lines (see diagram) I want to make the main (centre) frame central on the overall page...
  3. #2

    Default Re: altternative to frames

    sorry this doesn't help you max...but why does everyone hate frames in
    asp.net as you say? i need frames to have a scrollable list of items with
    formatting that's not possible in a list box. this is impossible otherwise
    right? why are frames bad?

    thanks.

    "Max" <mshaneyfelt@comsult.com> wrote in message
    news:00d801c34d3f$14d9ead0$a101280a@phx.gbl...
    > ok, Everyone hates frames in .Net. I get this. I
    > understand that user controls should be used to handle the
    > same functionality but I have a few questions. Below is a
    > crude outline of a page.
    >
    > -------------
    > Header Frame
    > -------------
    > Content Frame
    > -------------
    > Footer Frame
    > -------------
    >
    > I need the header to always be at the top and the footer
    > always at the bottom, in other words always visible.
    >
    > The header and footer are dynamic in that they have
    > different buttons show up depending on the content frame
    > (I think we worked out how to make this happen).
    >
    > The issue is that the content frame needs to scroll in
    > some case and not in others.
    >
    > Is the common practice to then create a user control for
    > the content frame?
    >
    > If this is the case I have about 100 pages to create so in
    > essence I create 100 user controls as well. Is this right?
    >
    > Can I just have one aspx page and dynamically change the
    > content control?
    >
    > Last question, I promise. We use form based security from
    > a table I assume I could deny access to the contol based
    > on checking the tbale (simulating not loadin the page).
    >
    > Sorry for all the questions but this is quite new. Thanks
    > in advnace for any advice and input.

    noname Guest

  4. #3

    Default Re: altternative to frames

    they are just out of vogue, and .net has little support for them, even
    though .net smart navigation uses frames in its implementation.

    -- bruce (sqlwork.com)

    "noname" <askme@fake.com> wrote in message
    news:e#$6OKUTDHA.3132@tk2msftngp13.phx.gbl...
    > sorry this doesn't help you max...but why does everyone hate frames in
    > asp.net as you say? i need frames to have a scrollable list of items with
    > formatting that's not possible in a list box. this is impossible
    otherwise
    > right? why are frames bad?
    >
    > thanks.
    >
    > "Max" <mshaneyfelt@comsult.com> wrote in message
    > news:00d801c34d3f$14d9ead0$a101280a@phx.gbl...
    > > ok, Everyone hates frames in .Net. I get this. I
    > > understand that user controls should be used to handle the
    > > same functionality but I have a few questions. Below is a
    > > crude outline of a page.
    > >
    > > -------------
    > > Header Frame
    > > -------------
    > > Content Frame
    > > -------------
    > > Footer Frame
    > > -------------
    > >
    > > I need the header to always be at the top and the footer
    > > always at the bottom, in other words always visible.
    > >
    > > The header and footer are dynamic in that they have
    > > different buttons show up depending on the content frame
    > > (I think we worked out how to make this happen).
    > >
    > > The issue is that the content frame needs to scroll in
    > > some case and not in others.
    > >
    > > Is the common practice to then create a user control for
    > > the content frame?
    > >
    > > If this is the case I have about 100 pages to create so in
    > > essence I create 100 user controls as well. Is this right?
    > >
    > > Can I just have one aspx page and dynamically change the
    > > content control?
    > >
    > > Last question, I promise. We use form based security from
    > > a table I assume I could deny access to the contol based
    > > on checking the tbale (simulating not loadin the page).
    > >
    > > Sorry for all the questions but this is quite new. Thanks
    > > in advnace for any advice and input.
    >
    >

    bruce barker Guest

  5. #4

    Default Re: altternative to frames

    Everyone doesn't hate frames. They are simply problematic. In other words,
    you can certainly use frames in an ASP.Net app, but it will require a good
    bit more work to get it to work right.

    In your situation, I believe that you could create 3 controls. One would be
    the Header. One would be the Footer. The third would be a host control to
    hold the other 2, a table with 3 rows. If you need scrollability in the
    middle, it could be done in any of several ways, depending upon what browser
    you're targeting. For example, if you are targeting IE only, you could use a
    scrollable div. On the other hand, you could also use an iFrame, but again,
    it wouldn't work in all browsers. If you have to have scrollability, AND
    work in all browsers, you'll probably have to use frames.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "Max" <mshaneyfelt@comsult.com> wrote in message
    news:00d801c34d3f$14d9ead0$a101280a@phx.gbl...
    > ok, Everyone hates frames in .Net. I get this. I
    > understand that user controls should be used to handle the
    > same functionality but I have a few questions. Below is a
    > crude outline of a page.
    >
    > -------------
    > Header Frame
    > -------------
    > Content Frame
    > -------------
    > Footer Frame
    > -------------
    >
    > I need the header to always be at the top and the footer
    > always at the bottom, in other words always visible.
    >
    > The header and footer are dynamic in that they have
    > different buttons show up depending on the content frame
    > (I think we worked out how to make this happen).
    >
    > The issue is that the content frame needs to scroll in
    > some case and not in others.
    >
    > Is the common practice to then create a user control for
    > the content frame?
    >
    > If this is the case I have about 100 pages to create so in
    > essence I create 100 user controls as well. Is this right?
    >
    > Can I just have one aspx page and dynamically change the
    > content control?
    >
    > Last question, I promise. We use form based security from
    > a table I assume I could deny access to the contol based
    > on checking the tbale (simulating not loadin the page).
    >
    > Sorry for all the questions but this is quite new. Thanks
    > in advnace for any advice and input.

    Kevin Spencer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139