when you use ajax ConfirmButtonExtender your validations of page will be done after the Confirmation Message....
to avoid this you have to confirm from user using Javascript...
somewhat like this...
function checkBeforeConfirm()
{
if(Page_ClientValidate()==true)
{
if(confirm('Are You Sure with the Details?')==true)
{
return true;
}
else
{
return false;
}
}
else
{
return false;
}
}
if you have divided your validations into groups then
function checkBeforeConfirm()
{
if(Page_ClientValidate('validationGroup')==true)
{
if(confirm('Are You Sure with the Details?')==true)
{
return true;
}
else
{
return false;
}
}
else
{
return false;
}
}
on your "OnClientClick" Property of your Button call this funtion..
<asp:button id=".." ...="" onclientclick="return checkBeforeConfirm();" xmlns:asp="#unknown"></asp:button>
this you will get help from this