Ask a Question related to ASP.NET General, Design and Development.
-
Ravikanth[MVP] #1
altternative to frames
Hi
If you want Content Frame in scroll bar use div tag.
HTH
Ravikanth
the>-----Original Message-----
>ok, Everyone hates frames in .Net. I get this. I
>understand that user controls should be used to handlea>same functionality but I have a few questions. Below isin>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 soright?>essence I create 100 user controls as well. Is thisfrom>
>Can I just have one aspx page and dynamically change the
>content control?
>
>Last question, I promise. We use form based securityThanks>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.>in advnace for any advice and input.
>.
>Ravikanth[MVP] Guest
-
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... -
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... -
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... -
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 -
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... -
noname #2
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
-
bruce barker #3
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...otherwise> 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> 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
-
Kevin Spencer #4
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



Reply With Quote

