ASP Net Controls ASP.Net Tutorial

<%@ Page Language="VB"%>

    Protected Sub Imagemap1_Click(ByVal sender As Object, _
       ByVal e As System.Web.UI.WebControls.ImageMapEventArgs)
          
          Response.Write("You selected: " & e.PostBackValue)
    End Sub



    ImageMap Control


    
                              Runat="server" 
                      ImageUrl="http://www.rntsoft.com/style/logo.png" 
                      Width=300 
                      OnClick="Imagemap1_Click" 
                      HotSpotMode="PostBack">
                                              Bottom="225" 
                                  Left="0" 
                                  Right="150" 
                                  AlternateText="Henri" 
                                  PostBackValue="Henri">
            
                                              Bottom="225" 
                                  Left="151" 
                                  Right="300" 
                                  AlternateText="Sofia" 
                                  PostBackValue="Sofia">