473,396 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 793
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
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...
37
by: ajay | last post by:
How to make a web page getting refreshed after a given time interval automatically. HTML Code plz. Tx Ajay
5
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...
2
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...
1
by: prasanna ganesh | last post by:
why i'm getting lang.string.NumberFormatException for input string ""please help me to find solution
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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
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...
0
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
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,...

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.