Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: 2D array

  1. #1
    New to the CF scene
    Join Date
    May 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    2D array

    I am working on a web application where is use AJAX and SVG. I need to use 2 dimensions array to keep the content in term of x and y coordinate, I can create 2D in C# ajax method side but it cannot remember the value.
    So I tried to create the array in C# and pass the result to javascript to keep then I tried to use ajax method that have the 2d array return from previous method as input. It is not possible though. Any sugggestion ?? It seems like javascipt can't handle the 2d array passes to it.

  • #2
    New Coder
    Join Date
    Aug 2005
    Location
    Edmonton, Canada
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Senior Coder
    Join Date
    Jul 2005
    Location
    New York, NY
    Posts
    1,084
    Thanks
    4
    Thanked 19 Times in 19 Posts
    JavaScript has very few bindings beyond straight up text processing. It can kind of handle image data (height and width at least) and it has bindings for talking to JAVA applets in the browser, but not much else.

    You can't just send stuff from C# on the server up. You gotta send text data that JavaScript can parse.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •