hi all,
I have a page to enter some details in database. For update i have save button in the radtoolbar. I already discussed in one of my thread regarding confirm box when press save button. As per the answer i put onbuttonclicking client event and ask for confirmation and set_Cancel of the args to true if they press cancel in the confirmation box. All working fine.
Now i implemted validation controls including reuired fdield validator and custom validator to check the mandatory field and check any duplicate name entered. Here i need to ask the confirmation box after all this validation done only. But now before validation the confirm asking.
In the clientbuttonclicking i just checked whether the inputbox ahve any value and give confirm so i can bypass the confirm box when user not entered the name. But now need to control in the custom validation also. The custom validation checks for database table so i called serverside event to validatite duplication . Now i need a common solution for this. I just ask the confirmation after all this validation simply telling if page.isvalid only i need to ask the confirmation. How can i achieve this?
I have a page to enter some details in database. For update i have save button in the radtoolbar. I already discussed in one of my thread regarding confirm box when press save button. As per the answer i put onbuttonclicking client event and ask for confirmation and set_Cancel of the args to true if they press cancel in the confirmation box. All working fine.
Now i implemted validation controls including reuired fdield validator and custom validator to check the mandatory field and check any duplicate name entered. Here i need to ask the confirmation box after all this validation done only. But now before validation the confirm asking.
In the clientbuttonclicking i just checked whether the inputbox ahve any value and give confirm so i can bypass the confirm box when user not entered the name. But now need to control in the custom validation also. The custom validation checks for database table so i called serverside event to validatite duplication . Now i need a common solution for this. I just ask the confirmation after all this validation simply telling if page.isvalid only i need to ask the confirmation. How can i achieve this?