473,491 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

getting arguments from a HTML page

EMW
I have created an INDEX.HTML file that uses javascript to get the browser
window size and then redirects immidiately to my ASPX file with
"fshome.aspx?width=1122,height=633"
But how do I read these values in my aspx file?

rg,
Eric
Nov 18 '05 #1
3 906
EMW
never mind... i found RawUrl....

"EMW" <SomeOne@MicroSoftdotCom> schreef in bericht
news:40**********************@dreader2.news.tiscal i.nl...
I have created an INDEX.HTML file that uses javascript to get the browser
window size and then redirects immidiately to my ASPX file with
"fshome.aspx?width=1122,height=633"
But how do I read these values in my aspx file?

rg,
Eric

Nov 18 '05 #2
Eric,

You need ?width=1122&height=633. Then you can read them in using
Request.QueryString("Height") and Request.QueryString("Width")

HTH,

Raymond Lewallen

"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
I have created an INDEX.HTML file that uses javascript to get the browser
window size and then redirects immidiately to my ASPX file with
"fshome.aspx?width=1122,height=633"
But how do I read these values in my aspx file?

rg,
Eric

Nov 18 '05 #3
EMW
cool, that's shorter then using Instr(...)

thanks!
Eric.

"Raymond Lewallen" <Ra******************@nospam.faa.gov> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
Eric,

You need ?width=1122&height=633. Then you can read them in using
Request.QueryString("Height") and Request.QueryString("Width")

HTH,

Raymond Lewallen

"EMW" <SomeOne@MicroSoftdotCom> wrote in message
news:40**********************@dreader2.news.tiscal i.nl...
I have created an INDEX.HTML file that uses javascript to get the browser window size and then redirects immidiately to my ASPX file with
"fshome.aspx?width=1122,height=633"
But how do I read these values in my aspx file?

rg,
Eric


Nov 18 '05 #4

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

Similar topics

5
1603
by: lawrence | last post by:
not sure if this is a PHP or HTML question. PHP sessions usually put a "?" after the url and then the session number. Most validators choke on the "?". What should I use instead? And where is the...
303
17412
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
7
50930
by: Tim Gaunt | last post by:
Hi, I'm hoping that someone will be able to help me with this one, I'm developing an application which basically inserts a load of data into the database ready for validation at a later date, I...
37
12689
by: ajay | last post by:
How to make a web page getting refreshed after a given time interval automatically. HTML Code plz. Tx Ajay
4
1946
by: Justine | last post by:
Can anyone help? e.g. when you open a vb project property page, in "Configuration Properties" You will see "Command line arguments" in "Start Options". Does anyone knows how to find a way to do...
12
13389
by: Dominik Werder | last post by:
Hello! When walking the DOM I check for e.g. obj.nodeName=='DIV' or similar. But this throws a warning in firefox if obj is not a HTMLDivElement. How can you test for HTMLDivElement without...
1
7994
by: Java Guy | last post by:
I'm trying to view a web page. IE tells me there are (Java?) errors on the page. Here they are: Line: 15 Char: 7 Error: Wrong number of arguments or invalid propert assignment Code: 0 URL:...
0
4526
by: mike1402 | last post by:
Hi ! I get the error below sometimes when retrieving a big amount of data using Datadapter.Fill(dataset,"table"). But when I send the command Fill again, there is no error. Is it a fault of...
0
1981
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
2
2823
by: Andrew Cooper | last post by:
Greetings, I've got a website that has several pages with DataGrid controls on them. The controls are bound to Object Datasources. On one of the pages I keep getting a "Timeout expired. The...
0
6978
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...
0
7154
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,...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
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...
0
4578
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...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
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...

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.