After RadAjaxLoadingPanel stops , display confirmation message.

2 posts, 0 answers
  1. Aamir
    Aamir avatar
    18 posts
    Member since:
    Nov 2010

    Posted 12 Feb 2013 Link to this post

    I have a textbox and a button inside an RadAjaxPanel. When I click the button RadAjaxLoadingPanel is displayed and button click event is fired. But now I want to display a confirmation message that button was clicked or just display any message after RadAjaxLoadingPanel stops.

  2. MasterChiefMasterChef
    MasterChiefMasterChef avatar
    152 posts
    Member since:
    Jan 2013

    Posted 13 Feb 2013 Link to this post

    Hi Aamir, 

    It sounds like you don't know how to trigger an event when the RadAjaxLoadingPanel dissapears. There is a good example on Telerik's site here. If you scroll down to the code, you will see the RadCodeBlock with javascript functions controlling the RadAjaxLoadingPanel's behavior:

    function ResponseEnd() {
                    //hide the loading panel and clean up the global variables
                    if (currentLoadingPanel != null) {
                        //here is where you would want to add a message or alert
                        //that the panel is hidden
                    currentUpdatedControl = null;
                    currentLoadingPanel = null;
                    if ($get("<%= Button1.ClientID %>").disabled) {
                        $get("<%= Button1.ClientID %>").disabled = false;

    Hopefully this helps,
    Master Chief
Back to Top