Write out Javscript Array from C#

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

Guest

In my C# code I have a collection of values.

I want these values to be available to my clientside Javascript.

How can I do this?

Write to a hidden field?
 
Hello C,

Use client script manager - RegisterClientScriptBlock methods.
See MSDN for more details and samples

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

C> In my C# code I have a collection of values.
C>
C> I want these values to be available to my clientside Javascript.
C>
C> How can I do this?
C>
C> Write to a hidden field?
C>
 
Back
Top