Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Help!!! Using Frames ASP.NET...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chrisgirl77@yahoo.com - 19 Jul 2005 10:37 GMT
Hello All,

I have used frames in html. I badly need to know how to use frames in
.NET. Looked around internet, but couldnt find an appropriate answere
to my question.

1. Is there a direct way to use frames? ie. not jumping from ASP.NET,
to html, javascript etc..

2. Ne good links for tutorials in frames, and other ASP.NET (using
VB.NET)?

Thanks in Advance..
Dave Fancher - 19 Jul 2005 13:55 GMT
ASP.NET is a server-side technology whereas frames are a client-side
technology.  Frames can be likened to having multiple independent browser
windows.  Since ASP.NET is a server-side technology, it is completely
unaware of most things on the client and is unable to manipulate things like
other frames and windows.  Manipulating frames and windows is the
responsibility of the client.

You can use a few tricks like setting the form target to another frame or
setting the Target attribute on a HyperLink to point to another frame but
even in these cases, ASP.NET is not targeting another frame, the browser is.

As for not wanting to jump from ASP.NET to HTML, this is unavoidable.
ASP.NET pages are XHTML pages that stream HTML to the browser.  You still
need HTML in order to display your pages.  JavaScript is highly useful for
manipulating client side objects and, in many cases is preferred to a
server-side solution because it eases the burden on the server by reducing
the number of requests that the server needs to process and by moving some
of the processing load to the client.

You may want to consider a UserControl based solution instead of frames.

HTH
----------------
Dave Fancher
http://www.davefancher.com

> Hello All,
>
[quoted text clipped - 9 lines]
>
> Thanks in Advance..
Kevin Spencer - 19 Jul 2005 15:14 GMT
> 1. Is there a direct way to use frames? ie. not jumping from ASP.NET,
> to html, javascript etc..

This question doesn't seem to make much sense on the face of it. First, what
do you mean by "direct?" You can certainly use a Frameset with ASP.Net pages
in it. Why, you could use an ASP.Net Page as the Frameset itself. And what
do you mean by "not jumping from ASP.Net to html, javascript etc." ? ASP.Net
is all about HTML, JavaScript, etc. ASP.Net generates HTML, JavaScript, etc.

Perhaps you need to understand more about what ASP.Net is, and what it does.

Signature

HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven

> Hello All,
>
[quoted text clipped - 9 lines]
>
> Thanks in Advance..
chrisgirl77@yahoo.com - 19 Jul 2005 19:52 GMT
Thanks guys for the informations.. Well, am a newbie in ASP.NET..

what I meant was:

For eg:
http://msdn.microsoft.com/asp.net/learn/default.aspx

opens a window, on left is the list of all the items (which remains
constant), and on the right side pages change as per selection on left.

also the extention of the link is .aspx

I need to do something similiar.

Thanks again..
Dave Fancher - 19 Jul 2005 20:08 GMT
It sounds like what you're looking for is a solution based on user controls.  
Since you're new to ASP.NET, I recommend taking a look at
http://samples.gotdotnet.com/quickstart/aspplus/ and reading through some of
the examples, particularly the ones pertaining to user controls.

HTH
----
http://www.davefancher.com

> Thanks guys for the informations.. Well, am a newbie in ASP.NET..
>
[quoted text clipped - 11 lines]
>
> Thanks again..
Kevin Spencer - 19 Jul 2005 20:28 GMT
That's not a frameset. That's a page with a navigation menu on the left.
When you click on a menu item, a new page with the same navigation menu on
the left opens. You would do it by creating a custom Control for the
navigation menu. As for doing something similar, and being a newbie to
ASP.Net, it's kind of like a newbie artist saying "I want to do something
similar to DaVinci's Last Supper." You'll have to work your way up to it.
There are no short cuts. Or, as Ringo Starr used to sing, "You've got to pay
your dues if you want to sing the blues, and you know, it don't come easy."

Signature

HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven

> Thanks guys for the informations.. Well, am a newbie in ASP.NET..
>
[quoted text clipped - 11 lines]
>
> Thanks again..
Christina - 20 Jul 2005 07:30 GMT
Thanks Dave, for helping me get the solution..

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.