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

[Solved] Appointment Inserting Problem

1 Answer 92 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 2
Andrew asked on 11 Aug 2009, 09:41 AM
Hi,

I am currently replacing my radScheduler edit form using Replacing The Edit Form and Client Side Objects

My radScheduler is grouped by "Studios" (Rehearsal Studios). And "Studios" are "Blue", "Red", "Yellow", ...

And my current code is
            function AppointmentInserting(sender, eventArgs) { 
                var start = formatDate(eventArgs.get_startTime()); 
                // New appointment 
                window.radopen("AdvancedForm.aspx?Mode=Insert&Start=" + start+"&Studio="+ groupby , "AdvancedForm"); 
                eventArgs.set_cancel(true); 
            } 

I would like to obtain the text of the clicked column ("Blue", "Red", "Yellow", ....) and not "Studios" in groupby

The incorrect code I've used is

var groupby = sender.get_groupBy() 

Have you got an idea ?

Thank you,

Adrien

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 11 Aug 2009, 10:43 AM
Hello Andrew,

The topic on the Replacing The Edit Form has been obsoleted with the new popup form of RadScheduelr. Please, try setting: <AdvancedForm Modal="true" >


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Andrew
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or