473,765 Members | 2,121 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Framesets & Dynamic Navigation

Hello- I am have a real trying time finding information on this subject. I
would like to create a web page that utilizes framesets (top & bottom) and a
navigation control I created from a datalist that gets data from a sql
datasource (sort of like a tabstrip). I'm getting pretty comforatable on the
asp.net side of things, but I'm lacking in the javascript department. I
understand that I need to add javascript to make the frames work properly.
Can anyone point me in the direction of some sort of sample of this scenario?
Ideally, I'd like it so when a user clicks on a tabstrip item in the top
frame, the bottom frame will change based on a querystring from the top
frame. Thanks!!
Nov 18 '05 #1
4 1771
Hi,

This won't take long. In the click event of your tabstrip item run this
code:

parent.document .getElementById ("bottomframena me").src = "ThePage.as px";

This will navigate your bottom frame to whatever page you want it to go to.
Also I use IFrames instead of a FrameSet. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Pete" <Pe**@discussio ns.microsoft.co m> wrote in message
news:36******** *************** ***********@mic rosoft.com...
Hello- I am have a real trying time finding information on this subject. I would like to create a web page that utilizes framesets (top & bottom) and a navigation control I created from a datalist that gets data from a sql
datasource (sort of like a tabstrip). I'm getting pretty comforatable on the asp.net side of things, but I'm lacking in the javascript department. I
understand that I need to add javascript to make the frames work properly.
Can anyone point me in the direction of some sort of sample of this scenario? Ideally, I'd like it so when a user clicks on a tabstrip item in the top
frame, the bottom frame will change based on a querystring from the top
frame. Thanks!!

Nov 18 '05 #2
Thanks Ken... so how do I get this into the click event? I'm getting the
data from sql with a datareader and binding it to a datalist. How/where do I
set the click event? Do I do this in my aspx page or the codebehind? Also,
why do you use IFrames instead? I do appreciate you taking the time to help
me!
Pete
"Ken Dopierala Jr." wrote:
Hi,

This won't take long. In the click event of your tabstrip item run this
code:

parent.document .getElementById ("bottomframena me").src = "ThePage.as px";

This will navigate your bottom frame to whatever page you want it to go to.
Also I use IFrames instead of a FrameSet. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Pete" <Pe**@discussio ns.microsoft.co m> wrote in message
news:36******** *************** ***********@mic rosoft.com...
Hello- I am have a real trying time finding information on this subject.

I
would like to create a web page that utilizes framesets (top & bottom) and

a
navigation control I created from a datalist that gets data from a sql
datasource (sort of like a tabstrip). I'm getting pretty comforatable on

the
asp.net side of things, but I'm lacking in the javascript department. I
understand that I need to add javascript to make the frames work properly.
Can anyone point me in the direction of some sort of sample of this

scenario?
Ideally, I'd like it so when a user clicks on a tabstrip item in the top
frame, the bottom frame will change based on a querystring from the top
frame. Thanks!!


Nov 18 '05 #3
Hi Pete,

You can use this code:

btnTabButton.At tributes.Add("o nclick",
"parent.documen t.getElementByI d(""bottomframe name"").src =
""ThePage.aspx" ";")

Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Pete" <Pe**@discussio ns.microsoft.co m> wrote in message
news:D7******** *************** ***********@mic rosoft.com...
Thanks Ken... so how do I get this into the click event? I'm getting the
data from sql with a datareader and binding it to a datalist. How/where do I set the click event? Do I do this in my aspx page or the codebehind? Also, why do you use IFrames instead? I do appreciate you taking the time to help me!
Pete
"Ken Dopierala Jr." wrote:
Hi,

This won't take long. In the click event of your tabstrip item run this
code:

parent.document .getElementById ("bottomframena me").src = "ThePage.as px";

This will navigate your bottom frame to whatever page you want it to go to. Also I use IFrames instead of a FrameSet. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Pete" <Pe**@discussio ns.microsoft.co m> wrote in message
news:36******** *************** ***********@mic rosoft.com...
Hello- I am have a real trying time finding information on this subject.
I
would like to create a web page that utilizes framesets (top & bottom)
and a
navigation control I created from a datalist that gets data from a sql
datasource (sort of like a tabstrip). I'm getting pretty comforatable
on the
asp.net side of things, but I'm lacking in the javascript department.

I understand that I need to add javascript to make the frames work properly. Can anyone point me in the direction of some sort of sample of this

scenario?
Ideally, I'd like it so when a user clicks on a tabstrip item in the top frame, the bottom frame will change based on a querystring from the top frame. Thanks!!


Nov 18 '05 #4
Thanks Ken! I got it... here's what I did...
After binding the datalist to the datareader, I then looped through the
datalist control and added the line of code you showed me. Thanks for
pointing me in the right direction!
Pete
"Ken Dopierala Jr." wrote:
Hi Pete,

You can use this code:

btnTabButton.At tributes.Add("o nclick",
"parent.documen t.getElementByI d(""bottomframe name"").src =
""ThePage.aspx" ";")

Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Pete" <Pe**@discussio ns.microsoft.co m> wrote in message
news:D7******** *************** ***********@mic rosoft.com...
Thanks Ken... so how do I get this into the click event? I'm getting the
data from sql with a datareader and binding it to a datalist. How/where

do I
set the click event? Do I do this in my aspx page or the codebehind?

Also,
why do you use IFrames instead? I do appreciate you taking the time to

help
me!
Pete
"Ken Dopierala Jr." wrote:
Hi,

This won't take long. In the click event of your tabstrip item run this
code:

parent.document .getElementById ("bottomframena me").src = "ThePage.as px";

This will navigate your bottom frame to whatever page you want it to go to. Also I use IFrames instead of a FrameSet. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Pete" <Pe**@discussio ns.microsoft.co m> wrote in message
news:36******** *************** ***********@mic rosoft.com...
> Hello- I am have a real trying time finding information on this subject. I
> would like to create a web page that utilizes framesets (top & bottom) and a
> navigation control I created from a datalist that gets data from a sql
> datasource (sort of like a tabstrip). I'm getting pretty comforatable on the
> asp.net side of things, but I'm lacking in the javascript department. I > understand that I need to add javascript to make the frames work properly. > Can anyone point me in the direction of some sort of sample of this
scenario?
> Ideally, I'd like it so when a user clicks on a tabstrip item in the top > frame, the bottom frame will change based on a querystring from the top > frame. Thanks!!


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2733
by: Arie Mijnlieff | last post by:
Hi ! I have an html file (http://www.kpc.nl/home.html) which i send to the w3 validator as well as to a an online HTML tidy script. The w3 validator (validator.w3.org) claims the frameset tag doesnt have a border tag whereas the html tidy script (http://infohound.net/tidy/tidy.pl) claims everything is ok.. Who is right ? I am asking this because i would like to write clean
5
2276
by: terry | last post by:
Hi, Question: When using Framesets and Server.Transfer in the Application_Error event handler is there a mechanism to get the error page to display in the total view of the browser not just in the offending frame? Overview: I have an application in which I am using framesets. When an Unhandled exception occurs I try to handle it
1
1762
by: James Bates | last post by:
Hope someone can help me out with something - I'm a HTML/CSS developer who know's a little PHP, which I use to make smaller sites semi-dynamic, I want to expand on what i'm currently doing but need some help. I currently use PHP to create a single included .php file that contains the navigation, that knows via a variable hard-coded in the XHTML page, what section that page is from and them marks the navigation <li> with a class the...
29
1884
by: vivekaseeja | last post by:
Hi, I have a web page where there are two frames. The left hand side frame has a list. When a row in a list is clicked, the other frame's contents need to be changed. The right hand frame needs to be a single html page, so i imagine have to hide and unhide content somehow. Thanks in advance, vivekian
4
1783
by: lashnjo | last post by:
hello, is it possible to click on one frameset, (ex. an image) and then for it to load a new frame in two different framesets and a new one in itself
3
3319
by: KimberlyM | last post by:
This has been driving me crazy. I hope someone can help. The site displays perfectly in FF but all div's do not show in IE. Please help me find the problem! Thanks! Here is my css. .node-unpublished, .comment-unpublished { background-color : #594133; } .preview .node, .preview .comment { background-color : #ffffea; }
5
1481
RMWChaos
by: RMWChaos | last post by:
Apparently, I can't do anything the easy way, which seems to lead me here so very, very often. Here is what I am trying to do this time: 1. Autogenerate two navigation bars, "navLeft" and "navRight" 2. The buttons change on hover, "onmouseover" and "onmouseout" 3. The buttons change depending on the "page" being viewed 4. The page does not actually change (DOM scripting and AJAX) 5. Keep the code as light as possible I could (and have)...
30
3844
by: Medvedev | last post by:
i see serveral source codes , and i found they almost only use "new" and "delete" keywords to make they object. Why should i do that , and as i know the object is going to be destroy by itself at the end of the app for example: class test { public: int x;
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.