This is a migrated thread and some comments may be shown as answers.

Cancel postback never postbacks

1 Answer 39 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 1
Andy Green asked on 25 Sep 2009, 01:48 PM
Hi

I have a RadAjaxManager on my page, and I'm trying to do some manula validation, which wont work.

I have narrowed down the broblem such that even the simplest confirm box doesn't work as expected.

I have the following on a Button -

OnClientClick

 

="return confirm('Are you sure you want to post back to the server?');"

 

 


When I click the button, I get the pop up but neither option (OK or Cancel) allows the page to postback.

This might not be an AJAX problem, but would be grateful for any help.

Andy

PS _UPDATE - I've just removed the RadAjaxPanel and it submits OK, so there is some interaction between the onclientclick of the button and the ajaxmanager.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 25 Sep 2009, 03:21 PM
Hello Andy,

More information about how to achieve the desired functionality is available in the following help article:
Exclude controls from ajaxifying

I hope this helps. Let me know if you need additional assistance.

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
Andy Green
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or