Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

Converting Asp.Net Variables to JavaScript in Windows

convert asp.net variables to javascript in windows

  • Please log in to reply

#1 Salwa


    Senior Member

  • Designer
  • 181 posts

Posted 21 July 2013 - 01:54 PM

1. From your Windows Go to start->All Programs->Microsoft .NET->Visual Studio
2. From Visual Studio go to File->Open and select your ASP project and click Open. This will load your ASP project’s files in the work desk.
3. Double click the form containing your JavaScript function.
4. From the bottom click "View Code" to open your HTML and JavaScript code.
5.Type the bellow open and close tags for your ASP script in the JavaScript location where you want the ASP variable to be:
The ASP code should be added between these two tags <% %>

5 enter the below code to convert the ASP variable to JavaScript:
ASPVar is the name of your variable

Also tagged with one or more of these keywords: convert asp.net variables, to javascript in windows

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users