Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
function initialize() {

            var markers = JSON.parse('<%=ConvertDataTabletoString()%>');
            var mapOptions = {
                center: new google.maps.LatLng(markers[0].lat, markers[0].lng),
                zoom: 5,
                mapTypeId: google.maps.MapTypeId.ROADMAP

            };


Please help me..how to place that event in JSON.Parse method..I already create "ConvertDataTableString()..but i want to change the location in dropdown list..for that i placed dropdown list..please say any one....
Posted
Updated 26-Sep-13 18:46pm
v2
Comments
TryAndSucceed 27-Sep-13 11:52am    
Call Initialize method onSelectedIndexChanged Event of your dropdown.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900