I am having problems closing any of the Advanced templates after clicking on Insert (command name Insert) or Update (command name Edit) buttons. The code behind runs successfully and the database is updated but form remains on the screen. The only solution so far is to use redirect but in that case scheduler goes back to todays date and generally it is not very good solution. I've alos tried binding the scheduler upon execution of the code (instead of using redirect) and still the advanced template remains visible. What could be done to fix this issue. Thanks