I want a LinkButton in an Ajaxified panel to execute a full PostBack - how can I do this?

2 posts, 0 answers
  1. A
    A avatar
    35 posts
    Member since:
    Nov 2015

    Posted 11 Oct Link to this post

    I have set up a page using <telerik:RadAjaxManager> and <asp:Panel>. The <asp:Panel> is ajaxified.

    Within the <asp:Panel> I have a button. This button is supposed to "escape" the AJAX mechanism and reload the whole page via PostBack when being pushed.

    What do I need to do to have the button reload the whole page, not just the <asp:Panel> area?

  2. Loïc
    Loïc avatar
    12 posts
    Member since:
    Oct 2016

    Posted 12 Oct in reply to A Link to this post

    Hi A!

    An other solution could be :

    ASPX:

    <telerik:RadLinkButton ID="RadLinkButton1" runat="server" OnClientClicked="onReloadWholePage">
    </telerik:RadLinkButton>

     

    JavaScript:

    function onReloadWholePage() {
        window.location.reload();
    }
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top