I am having a RadButton control in form and datepiccker Date is mandatory .
not selected the date the alert shown plz select date and one more alert come again are you sure?
when i was click on ok button saved successfully with out date but validation failed, Removevalidationgroup working fine
how to do this on client side Is page is Valid ?
aspx
<telerik:RadButton ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" OnClientClicking="RadConfirm" ValidationGroup="dbgrpMandate"></telerik:RadButton>
js
//RadConfirm
function RadConfirm(sender, args) {
var callBackFunction = Function.createDelegate(sender, function (shouldSubmit) {
if (shouldSubmit) {
this.click();
}
});
var text = "Are you sure ?";
radconfirm(text, callBackFunction, 250, 120, null, "radConfirm");
args.set_cancel(true);
}