Send code to web page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to be able to send several lines of javascript code generated in a
VB.Net app to an asp page I have on my web server so that the code can be
parsed in a function.

Here's the thing. I'm using Google Maps, but I need to generate the map
using data from my vb.Net app. Is there a way to get the javascript code
from the .Net client app to my web page?
 
Marty:

I don't know all of the details of your setup, so I will keep my comments
general. One alternative would be to write the script to a database and
then have the ASP.NET application read it from there. Depending on how
frequently the script changes, you could implement caching to improve
performance.

Conceivably, you could also write the script to a text or XML file.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


I'd like to be able to send several lines of javascript code generated in a
VB.Net app to an asp page I have on my web server so that the code can be
parsed in a function.

Here's the thing. I'm using Google Maps, but I need to generate the map
using data from my vb.Net app. Is there a way to get the javascript code
from the .Net client app to my web page?
 
Marty,

It depends what kind of page it is.

HTML
ASP
ASPX

In the last case I have probably a solution in the other two I have not.
(Although you should be able to do that as ASP, including that JavaScript,
however that is not dotNet)

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top