Click here to Skip to main content
15,884,099 members

Comments by Hariharan Arunachalam (Top 38 by date)

Hariharan Arunachalam 3-Apr-13 2:07am View    
The simplest solution to directly solve your problem is to load the values into an array in asp.net and use that array values in javascript. However, depending on what you actually intending to do, you might try loading a KML file instead (if changes are going to be in bulk) or using AJAX to retrieve the value from the server (if changes are expected dynamically).
Hariharan Arunachalam 2-Apr-13 10:04am View    
Deleted
Is that the only point at which the variables l1 and l2 are used in the javascript? If yes, then the reason only the last value is being displayed is simply because that IS the current value of l1 and l2 when it is rendered. The solution you want depends on some info that you have not provided. Let me know if you need help with this.
Hariharan Arunachalam 1-Apr-13 4:17am View    
Since the files were part of your solution, it becomes part of the virtual directory when launched. To share them, there are some methods available, the easiest of which would be creating a shared virtual directory with the files in it. Here's a couple of other methods I found on CP.
1. http://blogs.msdn.com/b/webdev/archive/2006/07/01/652986.aspx
2. http://weblogs.asp.net/scottgu/archive/2005/08/28/423888.aspx
Hariharan Arunachalam 29-Mar-13 5:16am View    
I can't see any problem as to why the last record wouldn't show based on the data you have provided. Are you sure its not a null/empty value?
Hariharan Arunachalam 29-Mar-13 4:59am View    
Do you mean to get the client side file path on the server end? I don't think that its possible. You have to save a copy on the server and do the work as necessary.