Advanced Form calls Form Created on Cancel

2 posts, 0 answers
  1. Steven
    Steven avatar
    27 posts
    Member since:
    May 2012

    Posted 27 Mar 2013 Link to this post

    When I click cancel on my custom advanced from, the page load runs and the form creating and created get called again.  It then runs all of my form created code before it dismisses the popup. 

    If I can check the commandName on this link button, I could fix this easily. 

    <asp:LinkButton runat="server" ID="btnCancel" CssClass="rsAdvEditCancel" CommandName="Cancel" CausesValidation="false">

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 28 Mar 2013 Link to this post


    Indeed the "Cancel" button in the RadScheduler advanced form is performing a post-back when closing the form. Here you may find a similar forum post that provides a sample project demonstrating how you can hide the advanced form without performing any post-back.
    I would like to note that this functionality is only implemented in the AdvancedEditForm for sample purposes. So if you want to test it, please try to modify an existing appointment and click the cancel button placed in the pop-up form.

    Boyan Dimitrov
    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.
Back to Top