I have a button on a form that vaidates the imput and then when validated submits it.
Is it possible to disable ajax for an ajaxified button for the current request and cause a full postback in a function in the code behind.
for instance:
Thanks in advance!
Regards,
Dave
Is it possible to disable ajax for an ajaxified button for the current request and cause a full postback in a function in the code behind.
for instance:
protected
void
btnSubmitForm2_Click(
object
sender, System.EventArgs e)
{
if
(ValidUserInfo())
{
// Code to turn off RadAjaxManager ajax request for this call
lblErrorMsg.Text =
"Valid"
;
//Updated via full postback
}
else
{
lblErrorMsg.Text =
"Invalid"
;
//Updated via RadAjaxManager
}
}
Thanks in advance!
Regards,
Dave