Results 1 to 2 of 2

Thread: Remote Scripting ? .Net 1.1

  1. #1
    Member
    Join Date
    Mar 05
    Posts
    40

    Exclamation Remote Scripting ? .Net 1.1

    Can anyone tell me how/or point me to a good article that will show me how to pass a javascript variable value to the server using remote scripting(XMLHTTP). Here is what I want to do.

    1) Using JavaScript I want to detect the users screen size and resolution
    2) Pass that data back to the server and trigger a subroutien that will write that data as well as the other browser capabilities to a database.

    This will be part of a user control that I am developing so of course all server side code will be in the code behind class. The language is VB.Net

    Any help would be greatly appreciated.

  2. #2
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 05
    Posts
    850

    Re: Remote Scripting ? .Net 1.1

    You could use URL parameters like this:
    Code:
    window.location+="?w=" + screenW + "&h=" + screenH
    TPM

    Add yourself to the VBForums Frappr Map!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •