Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Frames and


Message #1 by "Johan" <johan.wasserman@a...> on Fri, 22 Jun 2001 09:18:02
I have a page frame with _left and _right frames, the _left frame contains 

a "Toolbox" with buttons that are supposed to open different *.aspx forms 

in the _right frame.  The problem is, client side redirects doesnt work.  

How do I tel the server to post the form to the _right frame?
Message #2 by ssteward@a... on Fri, 22 Jun 2001 08:50:16 -0500
In the <head> section of your page, put the following line:

<base target=3D"_right">





-----Original Message-----

From: Johan [mailto:johan.wasserman@a...]

Sent: Friday, June 22, 2001 4:18 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Frames and <asp:button>





I have a page frame with _left and _right frames, the _left frame 

contains

a "Toolbox" with buttons that are supposed to open different *.aspx 

forms

in the _right frame.  The problem is, client side redirects doesnt 

work. 

How do I tel the server to post the form to the _right frame?



Message #3 by "Alan Fair" <alanf@i...> on Wed, 27 Jun 2001 09:19:00
Hi, 

I saw your reply to Johan, I have a similar problem, I tried your 

solution, but it did not seem to make any difference, so I was hoping you 

could help. My set up is explained below.



First however can i ask what the significence of the "3D" in your solution 

is. I keep seeing this in other peoples solutions. 



My set up is as follows:-



Initially my first page is broken into two frames, called headingFrame and 

mainFrame.



In the mainFrame is a list of projects which the user can select one.



When they do so, the mainFrame is split into three frames, namely, 

titleframe, displayframe and menuframe. nothing changes in the top and 

bottom frame, differnet forms are displayed in the middle frame 

(displayframe) in which all the processing is carried out. This works fine.



my problem lies in when the user needs to select a new project, i need to 

display the project list, as at the start in the mainFrame. I can not get 

this to happen it gets displayed in the displayframe.



The response.redirect gives no way to specify the frame.



The result i am trying to achieve is the project selection screen 

displayed in the mainframe, and the subsequent frames that it was divided 

into not shown.



Hope this makes sense.

Alan















> In the <head> section of your page, put the following line:

> <base target=3D"_right">

> 

> 

> -----Original Message-----

> From: Johan [mailto:johan.wasserman@a...]

> Sent: Friday, June 22, 2001 4:18 AM

> To: ASP Web HowTo

> Subject: [asp_web_howto] Frames and <asp:button>

> 

> 

> I have a page frame with _left and _right frames, the _left frame 

> contains

> a "Toolbox" with buttons that are supposed to open different *.aspx 

> forms

> in the _right frame.  The problem is, client side redirects doesnt 

> work. 

> How do I tel the server to post the form to the _right frame?

> 

Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 27 Jun 2001 13:13:43 +0100
We've had this 3D debate loads on these lists...



apparently its something to do with our mail packages using an invalid

character set, which causes certain characters to be represented 

instead by

codes, so '=3D' becomes '=3D3D'.



I have never seen this anywhere else apart from when sending to the 

wrox

lists, also I can't find anywhere in Outlook that allows you to change 

the

character set that it uses...



Message #5 by "Daniel O'Dorisio" <dodorisio@h...> on Wed, 27 Jun 2001 08:42:45 -0400
i once saw a ms kb article on this.. but i cant find it to save my life. i

think it said that there is something about exchange server that did it..

but i dont rmemember



daniel



-----Original Message-----

From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...]

Sent: Wednesday, June 27, 2001 8:14 AM

To: ASP Web HowTo

Subject: [asp_web_howto] RE: Frames and <asp:button>





We've had this 3D debate loads on these lists...



apparently its something to do with our mail packages using an invalid

character set, which causes certain characters to be represented instead by

codes, so '=' becomes '=3D'.



I have never seen this anywhere else apart from when sending to the wrox

lists, also I can't find anywhere in Outlook that allows you to change the

character set that it uses...









Message #6 by "Daniel Walker" <danielw@w...> on Wed, 27 Jun 2001 15:16:55
Take a look here:



http://www.geocities.com/CapitolHill/1236/nomime.html



The principal problem is with the iso-8859-1 character set, known as

"Latin 1", a MIME message (as any of you who've subscribed to an

unmoderated list as a digest subscriber will know to your cost)

includes the original text, say a HTML-formatted message, as it

actually exists, so it tends to look like:



<html>

<div> </div>

<div><font size="2" face="sans-serif,arial,helv,helvetica">Hi all,</font> </div>

<div> </div>

<div> </div>

...et cetera



If your mail-client can't understand this (for example, because this

message is now part of a digest) this will look awful and can actually be

unreadable. A MIME message encloses a plain text version as well, but 

E-Mail (indeed the whole Internet) doesn't actually support Latin 1 

(Euopean plain text) only US-ASCII plain text. This is because the web

was begat from the Internet, which was, in turn, begat from the ARPAnet,

wherein the fact that US-ASCII was the only text type actually supported

(in it's native form) seemed a logical way of reducing the memory load

needed to encode, transmit and store text files: this was 1967, remember

and most computer programming was still batch-process-style programming.



If your plain text is set as "Latin1" or "iso-8859-1", the "Quoted

printable" portion of your message will substitute whatever characters

your mail client (in it's Frontpage-like wisdom) deem to be unsupported,

with an equals sign followed by the octal numeric value of that

character, under the given character set.



Ironically, Outlook and Outlook Express both reckon that in Latin 1 this

includes the "=" character itself, which it replaces with an equals sign

and "3D", it's octal value. Because the HTML parts of messages can make

digests bulky and unreadable for digest-subscribers, what we at Wrox do,

where possible, is manually delete the HTML portion and move the content

type declaration on the plain-text portion into the header and just send

that through: the "Quoted Printable" declaration should permit any e-mail

client recieving it to reconvert the text back into the Latin 1 character

set.



It seems that this sometimes isn't happening, for reasons I cannot account

for: probably because Outlook is wrong to make these substitutions

in the first place. Also, the web interface still displays the quoted

printable version - warts and all. However it might be a better solution

to ask that subscribers configure their e-mail clients to become Internet

compliant, (and Geoff Boyd's article has instructions that will allow you

to do this for many of the world's e-mail programs) than for us to

simply stop making that extra effort and just letting the digest

subscribers suffer.



Daniel Walker

Wrox Press





> i once saw a ms kb article on this.. but i cant find it to save my life. i

> think it said that there is something about exchange server that did it..

> but i dont rmemember

> 

> daniel

> 

Message #7 by "Johan" <johan.wasserman@a...> on Fri, 29 Jun 2001 08:19:41
I am so happy to see so many replies to my original message but I get the 

idea that the toppic has changed!



Thankyou for all the interesting stuff on 3D.... but the problem remains: 



How do I open a *.aspx form in a specific frame in ASP+?  Apparently the 

frames are rendered on the client side and the server has no knowledge of 

them.  I have tried EVERYTHING, even to set "runat=server" when creating 

the frames and am just plain out of ideas.  It could be a good idea to use 

response.write to generate html on the client side that will open a form 

in a frame, but is that possible and how?



Any ideas or code samples out there would be highly appreciated.
Message #8 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 29 Jun 2001 10:16:08 +0100
Johan,



I'm not quite sure what you are trying to do... but you must 

distinguish in

your mind what takes place on the server and what takes place on the 

client.

A frameset divides one browser window into multiple browser windows, 

each of

which is a seperate browser in its own right, albeit part of a 

hierarchy.  A

request sent from any particular frame will result in the response 

being

sent to that particular frame.  If you want to click something in one 

frame

to have something happen in another, you can either use a hyperlink 

with a

target frame specified, in which case the browser sends the request 

"from"

the target frame, or you can use client side scripting to manipulate 

what

goes on in the other frames.  In any case, anything to with frames 

happens

on the client and is nothing to do with the server.



An ASP does not run "in a frame", it runs on the server.  Any HTML 

produced

by the ASP will be sent to whatever frame sent the request to the 

server.



In order to split a page into frames, youve got to write (or generate 

with

ASP) the set of HTML frameset tags that will split the window up into

multiple windows.  Each frame in the frameset has a "src" which is the 

file

that is to be loaded into each frame.  You cannot have anything going 

on

within the frame in the ASP that generates the frameset, it has to 

happen in

a different ASP that is requested by the frame when the frameset is 

created.



Hope this makes sense...



-----Original Message-----

From: Johan [mailto:johan.wasserman@a...]

Sent: 29 June 2001 09:20

To: ASP Web HowTo

Subject: [asp_web_howto] Re: Frames and <asp:button>





I am so happy to see so many replies to my original message but I get 

the

idea that the toppic has changed!



Thankyou for all the interesting stuff on 3D.... but the problem 

remains:



How do I open a *.aspx form in a specific frame in ASP+?  Apparently 

the

frames are rendered on the client side and the server has no knowledge 

of

them.  I have tried EVERYTHING, even to set "runat=3Dserver" when 

creating

the frames and am just plain out of ideas.  It could be a good idea to 

use

response.write to generate html on the client side that will open a 

form

in a frame, but is that possible and how?



Any ideas or code samples out there would be highly appreciated.




  Return to Index