Posted on: 6/15/2013 9:23:49 AM | Views : 405

hi, I want to create an image map whitch it's hotspot will generate dynamically from code behind like bellow:
DataSet1.mapDataTable dt = new DataSet1.mapDataTable(); mapTableAdapter ta = new mapTableAdapter(); ta.Fill(dt); foreach (DataRow dr in dt.Rows) { int x =Int32.Parse(dr["x"].ToString()); int y = Int32.Parse(dr["y"].ToString()); RectangleHotSpot rc = new RectangleHotSpot(); rc.Top = y; rc.Left = x; ImageMap1.HotSpots.Add(rc); } I want to add an image for each hotspot but I don't know how should I do that. is there a way to add an image for each hotspot?

...

Go to the complete details ...