protected void Page_Load(object sender, EventArgs e)
{
ImageButton myImageButton = new ImageButton();
myImageButton.ImageUrl = "myPicture.png";
myImageButton.Click += new ImageClickEventHandler(myImageButton_Click);
}
void myImageButton_Click(object sender, ImageClickEventArgs e)
{
}
Regarding the popup, are you doing it in javascript? If so, remember that the message box could only contain "OK" or "Cancel". You can do it through c# code by showing a div with the required question and respective buttons.