ASP.NET Profile values within a JavaScript Function

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

Guest

How can I reference values from the Profile. within a JavaScript?

A VB ASP.NET web page would generate the data on our servier but would need
to plot them on a map using a 3rd party's WebService using JavaScript onLoad.
The JacaScript needs to reference the hidden information passed back to the
client by ASP.NET.
 
just put them in a hidden fields.

server:

Page.ClientScript.RegisterHiddenField("profile1",profile1);

client

var profile1 = document.getElementsByName("profile1")[0];


-- bruce (sqlwork.com)
 
Back
Top