Cancel button flashing

2 posts, 1 answers
  1. Al
    Al avatar
    221 posts
    Member since:
    Oct 2006

    Posted 29 May 2015 Link to this post


    My wizard uses postback on ActiveStepChanged, whenever Next is clicked then the cancel button appears and disappears during the postback. If I ajax the control then this seems to work, is it unusual to do this?:



    <telerik:AjaxSetting AjaxControlID="RadWizard1">
            <telerik:AjaxUpdatedControl ControlID="RadWizard1" UpdatePanelHeight="100%" LoadingPanelID="ALP1" UpdatePanelCssClass="" />


    The problem is that this only works when the wizard has only text, as soon as I have grid's etc. on wizard steps when I get ajax errors. Removing the code above  makes the errors disappear.

  2. Answer
    Ivan Danchev
    Ivan Danchev avatar
    1663 posts

    Posted 01 Jun 2015 Link to this post


    The flickering that you observe, when the page refreshes after a postback is performed, is expected. It can be avoided by wrapping the controls that trigger postback in RadAjaxPanel control or by updating them with the help of the RadAjaxManager control. This way they will be updated through AJAX requests without causing the whole page to refresh. I suggest you try wrapping the RadWizard in a RadAjaxPanel as shown below:

    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <telerik:RadWizard ID="RadWizard1" runat="server">
               <%-- steps--%>

    Note that you should not update the same controls with RadAjaxPanel, RadAjaxManager and asp:UpdatePanel at the same time. This could be the reason behind the errors you are getting. For instance, in the example above you can wrap the RadWizard and other controls in a RadAjaxPanel, but it is not recommended to put and UpdatePanel inside the RadAjaxPanel, or to update the Wizard with RadAjaxManager while it is nested in a RadAjaxPanel, otherwise conflicts are likely to occur.

    Ivan Danchev
Back to Top