ASP.Net 2.0: It seems simple, but.....

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

I saw a simple web page. It had a frameset with 2 frames. The left frame
was a navigtion frame, with links to interesting websites and a place to
place a username (guess some of the websites were kinda personalized). The
right frame contained the website of the link clicked in the navigation
frame.

Wanting to learn ASP.Net 2.0, I thought I'd start with my own version of
this simple site. Alas, nothing is simple when Microsoft gets involved.

You can't design or edit a frameset page in design view in ASP.Net 2.0. You
won;t even find a Frame, iFrame or Frameset control in ASP.Net 2.0.

So, how are we supposed to implement this most elementary functionality
using ASP.Net 2.0?
 
Jim said:
I saw a simple web page. It had a frameset with 2 frames. The left frame
was a navigtion frame, with links to interesting websites and a place to
place a username (guess some of the websites were kinda personalized). The
right frame contained the website of the link clicked in the navigation
frame.

Wanting to learn ASP.Net 2.0, I thought I'd start with my own version of
this simple site. Alas, nothing is simple when Microsoft gets involved.

You can't design or edit a frameset page in design view in ASP.Net 2.0.
You won;t even find a Frame, iFrame or Frameset control in ASP.Net 2.0.

So, how are we supposed to implement this most elementary functionality
using ASP.Net 2.0?

What does ASP.Net have to do with Javascript or Framesets? That is HTML.
You can use Visual Studio to edit your HTML til the cows come home. Go
right ahead. Has nothing to do with ASP, though.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 
Nick Malik said:
What does ASP.Net have to do with Javascript or Framesets? That is HTML.
You can use Visual Studio to edit your HTML til the cows come home. Go
right ahead. Has nothing to do with ASP, though.

Only in code.....not in the designer (where it would be most useful).

VS 2005 is excellent overall. But, IMHO, somebody at Microsoft screwed up
when they omitted this HTML control from use in the visual designer.

Jim
 
Jim said:
Only in code.....not in the designer (where it would be most useful).

VS 2005 is excellent overall. But, IMHO, somebody at Microsoft screwed up
when they omitted this HTML control from use in the visual designer.

Hi Jim,

With all due respect, you are using the wrong tool. It is like opening up
Microsoft Excel and complaining that the text layout tools aren't as strong
as in a word processor.

Visual Studio 2005 is a software development environment. You are
developing a web page. Use a web page development tool: FrontPage. This
tool has matured over the years into a pretty good visual environment for
editing web pages. Using FrontPage, you have controls for doing all the
things you want to do on an HTML site, and it lays things out very nicely.
Give it a shot and then, if you feel that FrontPage is missing a feature
that you'd like to see, please send that feature to (e-mail address removed) so
that it can be considered for addition in future releases.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 
Jim,

It is always been almost impossible to use a frame on a ASPNET webpages. We
have it on our site, however don't ask us what we do to simulate that
behaviour and want to replace it soon.

http://www.vb-tips.com/default.aspx

However Microsoft has replaced the frame approach by a better approach.

The masterpage. The masterpage is exactly doing as those old framepages (the
only thing I did not find yet is to set a bottom for the frames and make it
scrollable inside a page. Although that is as well a crime to do in classic
web approach because you have to measure the screen with javascript, while
that is in the not compatible part).

However the masterpage has more than the old frames appraoch and is at least
much easier to handle than the old ASP or Frontpage approach (to answer a
little bit indirectly to Nick).

If you download the first four templates you have direct a sample how it can
be done.

http://msdn.microsoft.com/asp.net/reference/design/templates/default.aspx

I hope this gives an idea

Cor
 
Back
Top