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

Urgent help on some issues

1 Answer 35 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
sachin
Top achievements
Rank 1
sachin asked on 22 Nov 2010, 05:51 PM
I am using radscheduler with Modal advanced form for one of our clients.  Below are some f the questions i have.

1. Referring to below link.

http://www.telerik.com/community/forums/aspnet-ajax/scheduler/how-to-open-a-new-appointment-using-code-behind.aspx

the script at the path does not work when radscheduler is inside radsplitter.

2. UNDO, CLEAR, SAVE and New buttons

I have these 3 buttons on my advanced edit for on both insert as well as edit mode. Please see below to know how i need them  to work.

i) UNDO : When in insert form clicking on this button should take the advanced form back to as it was when loaded. I used the binding container method to rebind the container in advanced form button click as.

SchedulerFormContainer container = (SchedulerFormContainer)BindingContainer;
            Appointment Apt1 = new Appointment();
            Apt1.Start = Start;
            Apt1.End = End;
            container.Appointment = Apt1;

            container.DataBind();

However this does not reset the values in posted controls.

ii) SAVE and ADD:

This is something for which i was trying the script in step1, but didnt quite make it work. i successfully saved the data and closed advanced form using this button. I can even write teh code to understand the control causing postback however dont understand where and how do i need to put the script to open window for creating new appointment so that i can use ShowAdvancedInsertForm() method. Tried everything for this. Same works if i put the button and call it on button click. Please suggest what to do in this case.

iii) CLEAR button:

Similar to UNDO button in thsi also i need to clear the values and use teh same thing as mentioned above, but the problem with posted controls still exist.

Please try and help me on these items as soon as possible as these are being show stoppers in our upload lined up in coming 2 days.

Many thanks in advance.

Waiting for your response.

Regards,
Sachin

1 Answer, 1 is accepted

Sort by
0
sachin
Top achievements
Rank 1
answered on 25 Nov 2010, 05:21 AM
Is there anybody to help???
Tags
Scheduler
Asked by
sachin
Top achievements
Rank 1
Answers by
sachin
Top achievements
Rank 1
Share this question
or