Hi,
I have a grid with a nested view. In my nested view I have to load a map.
How can I load a script on row expanded? Client or server side.
Is there a clientevents that I can use?
Script to load
Thanks
I have a grid with a nested view. In my nested view I have to load a map.
How can I load a script on row expanded? Client or server side.
Is there a clientevents that I can use?
Script to load
//carico la mappa function LoadMap(lat, lon) { if (lat == "0") return; var myLatLng = new google.maps.LatLng(lat, lon);
var mapOptions = { zoom: 2, center: myLatLng, mapTypeId: google.maps.MapTypeId.HYBRID } map = new google.maps.Map(document.getElementById("map"), mapOptions); infowindow = new google.maps.InfoWindow(); createMarker(new google.maps.LatLng(lat, lon), "testo interno", ""); } protected void HomeRadGrid_ItemCommand(object sender, GridCommandEventArgs e)
{ switch (e.CommandName) { case "ExpandCollapse": //LOAD SCRIPT break; } }Thanks
