Hello
You could hook up the TextChanged event to detect if the content is changed .
for example:
Editor1_TextChanged(..)
{
ViewState["valuechanged"]=true;
}
CloseButton_Click(...)
{
if(true.Equals(ViewState["valuechanged"]))
{
//show alert message
}
}
Regards , Terry .