Page.IsPostBack vs Page.IsCallBack

3 posts, 0 answers
  1. Ian
    Ian avatar
    15 posts
    Member since:
    Feb 2012

    Posted 07 Apr 2012 Link to this post

    Quick question from a Newbie.

    When using RadAjaxManager or RadAjaxPanel they both fire events in "If Page.IsPostBack then......" and do not fire events in "If Page.IsCallBack then.....".  So I am not fully understanding the meaning of PostBack and CallBack.  I thought the RadAjaxManager was making CallBacks to the server and not PostBacks.  Is this by design?

    What am I missing here?

    A quick reply from an experienced programmer would be much appreciated.

    Cheers

    Ian.
  2. Vasil
    Admin
    Vasil avatar
    1641 posts

    Posted 11 Apr 2012 Link to this post

    Hello Ian,

    Page.IsPostBack is true if the Post method is used instead of Get one for the request of the page. Check this resource for more information:
    Methods GET and POST in HTML forms - what's the difference?

    And if you like to know if it is Ajax call you could use: IsAjaxRequest of the RadAjaxManager or RadAjaxPanel.

    Greetings,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Ian
    Ian avatar
    15 posts
    Member since:
    Feb 2012

    Posted 11 Apr 2012 Link to this post

    Many thanks Vasil!!

    Ian.
Back to Top