Tuesday, September 22, 2009

Get the ImageButton ID from behind code(C#)

ImageButton ibtn = sender as ImageButton;
if (ibtn != null)
{
string theID = ibtn.ClientID;
}

No comments: