Hi,
You need to write below code on calendar2_SelectedEvent
if(calendar1.selecteddate.value == calendar2.selecteddate.value)
{
Response.Write("<script>window.alert('End date not equal to start date')</script>");
txtenddate.focus();
return;
}
Please try with this one...