This is a migrated thread and some comments may be shown as answers.

Advanced Form calls Form Created on Cancel

1 Answer 63 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 27 Mar 2013, 07:26 PM
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">

Ideas?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 28 Mar 2013, 03:37 PM
Hello,

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.


Regards,
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.
Tags
Scheduler
Asked by
Steven
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or