Cancel postback never postbacks

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    120 posts
    Member since:
    Jul 2009

    Posted 25 Sep 2009 Link to this post

    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.
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 25 Sep 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top