2
Answers

Upload from VS to remote server

flbreen

flbreen

21y
2.3k
1
I am creating and debugging an application on my pc using VS.net. I would like to upload this application to a remote Windows server in the same way I publish websites using FrontPage. Is it possible to upload the application using VS. Thank-you Frank Breen
Answers (2)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram