473,545 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

server.execute and frames

We have a webshop that has frames (content and "menu in two parts")
I'm experimenting with the general layout and have changed the
location of the link to the cart to be in the (upper) menu frame. The
cart is hidden unless you "call" it.
When something is added to the cart there is a redirect back to where
the customer put something in the cart.
But I also want the link to the cart to change so that it reflects the
fact that something has been put there.
I've tried Server.Execute( "logg2.asp" ) but nothing happens, but a
refresh changes the link.
We use Server.Execute for asp pages in the same frame and that works,
so
I suspect this to be the result of logg2.asp being in another frame
than basket.asp (the cart).
Any ideas (besides not using frames)
Mats
PS I'd rather use dhtml and layers, but the browser support for that
is not sufficient (yet)
Jul 19 '05 #1
2 1883
If I understand correctly you are trying to direct something to another
frame? If sp ASP can't do this. It's all serverside and has no idea of
frames. You'll hace to use clientside calls to move the other frame.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Mats" <we*******@data byggarna.com> wrote in message
news:51******** *************** ***@posting.goo gle.com...
We have a webshop that has frames (content and "menu in two parts")
I'm experimenting with the general layout and have changed the
location of the link to the cart to be in the (upper) menu frame. The
cart is hidden unless you "call" it.
When something is added to the cart there is a redirect back to where
the customer put something in the cart.
But I also want the link to the cart to change so that it reflects the
fact that something has been put there.
I've tried Server.Execute( "logg2.asp" ) but nothing happens, but a
refresh changes the link.
We use Server.Execute for asp pages in the same frame and that works,
so
I suspect this to be the result of logg2.asp being in another frame
than basket.asp (the cart).
Any ideas (besides not using frames)
Mats
PS I'd rather use dhtml and layers, but the browser support for that
is not sufficient (yet)

Jul 19 '05 #2
Nope- I'm not trying to direct something to another frame. As ASP is
serverside I thought that a Server.Execute would generate a result
regardless of frame, but that does not seem to bee the case.
Server.Execute( "logg2.asp" ) should simply result in a slightly changed
link to the cart, the visible text now "You have items in your cart"
instead of just
"Your cart", but nothing happens. However if you refresh the side
(e.g. hit F5)
the text changes
Mats
"Curt_C [MVP]" <Software_AT_Da rkfalz.com> wrote in message news:<ed******* ******@tk2msftn gp13.phx.gbl>.. .
If I understand correctly you are trying to direct something to another
frame? If sp ASP can't do this. It's all serverside and has no idea of
frames. You'll hace to use clientside calls to move the other frame.

--
----------------------------------------------------------
Curt Christianson (Software_AT_Da rkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Mats" <we*******@data byggarna.com> wrote in message
news:51******** *************** ***@posting.goo gle.com...
We have a webshop that has frames (content and "menu in two parts")
I'm experimenting with the general layout and have changed the
location of the link to the cart to be in the (upper) menu frame. The
cart is hidden unless you "call" it.
When something is added to the cart there is a redirect back to where
the customer put something in the cart.
But I also want the link to the cart to change so that it reflects the
fact that something has been put there.
I've tried Server.Execute( "logg2.asp" ) but nothing happens, but a
refresh changes the link.
We use Server.Execute for asp pages in the same frame and that works,
so
I suspect this to be the result of logg2.asp being in another frame
than basket.asp (the cart).
Any ideas (besides not using frames)
Mats
PS I'd rather use dhtml and layers, but the browser support for that
is not sufficient (yet)

Jul 19 '05 #3

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

Similar topics

5
3637
by: Phil Grimpo | last post by:
I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of paths to "Module Menus". Each of these menus are then placed into the page by calling Server.Execute(rs_Modules("ModulePath")). This works fine for up to 15 "menus" After that,...
4
1958
by: Phil Grimpo | last post by:
I had previously explained this problem in a different thread, but now that I have an IISState log, I figured I'd re-start the thred. My situation and the log are following... I have a very odd situation here. I have an administration page, where based on a users permissions, a recordset is called from the SQL server which has a list of...
4
1801
by: richmond | last post by:
Please forgive me if this question is not readable for you. I definitely want to get in-depth on this. I am in front of a web application. On the server side, it has the main exe under http://virtualdir/bin, and other javascript files under c:/virtualdir. They all work for the same web link. One scenario is, on client side, user accesses the...
15
2878
by: Sue | last post by:
Is there such an animal as a frameset/frames server-side webcontrol or htmlcontrol? I have a frameset with two frames - one contains an aspx page with asp buttons that has to do some updating, then change the aspx in the second frame to another aspx. I've been trying various ideas without success. Is there no way to do this on the server...
2
2236
by: Chris Podmore | last post by:
This is driving me mad so any help will be much appreciated. I have an html page with 3 frames, banner, left and right. The banner frames source is an aspx page. The aspx page has two buttons, both need to run some code and then redirect the user somewhere else. The problem is the redirected page is being displayed in the banner frame. How...
2
6932
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
2
6019
by: maya | last post by:
hi, I keep getting this error, "can't execute code from a freed script" when I go to another page (i.e., upon UNLOAD..) this error occurs only in IE, not FF (what a surprise.....;) what is this error, pls.. it's for a site I've been working on for a few weeks now, started getting this error just a few days ago.. (I looked this up, saw...
11
12450
by: Krzysztof Retel | last post by:
Hi guys, I am struggling writing fast UDP server. It has to handle around 10000 UDP packets per second. I started building that with non blocking socket and threads. Unfortunately my approach does not work at all. I wrote a simple case test: client and server. The client sends 2200 packets within 0.137447118759 secs. The tcpdump received...
0
7496
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...
0
7428
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7685
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7941
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...
1
7452
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...
1
5354
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...
0
3467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1039
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
738
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...

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.