Ajaxpage

Oct 15, 2007 at 7:48 AM
How to get do the following in ajax page
protected void imgMap_Click(object sender, ImageClickEventArgs e)
{
SharpMap.Geometries.Point ClickPnt = myMap.ImageToWorld(new System.Drawing.Point(e.X, e.Y));

if (rblMapTools.SelectedValue == "3")
{

SharpMap.Data.FeatureDataSet ds = new SharpMap.Data.FeatureDataSet();


VectorLayer layer = myMap.Layers0 as SharpMap.Layers.VectorLayer;


layer.DataSource.Open();


layer.DataSource.ExecuteIntersectionQuery(ClickPnt.GetBoundingBox(), ds);


layer.DataSource.Close();

GridView1.DataSource = ds.Tables0;
GridView1.DataBind();
}
Thanks in advance.