using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using InfoSoftGlobal; public partial class DrillStateDetails : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { // Define dataURL // URLEncoded dataURL string dataURL = Server.UrlEncode("DataGen.aspx?op=GetStateDetails&Internal_Id=" + Request["Internal_Id"]); // Create the Map with data contained in dataURL // and embed the chart rendered as HTML into Literal - StateDetailsMap // We use FusionMaps class of InfoSoftGlobal namespace (FusionMaps.dll in BIN folder) // RenderMap() generates the necessary HTML needed to render the map string mapHTML= FusionMaps.RenderMap("../Maps/" + Request["map"], dataURL, "", "mapid", "600", "400", false, false); //embed the chart rendered as HTML into Literal - StateDetailsMap StateDetailsMap.Text = mapHTML; } }