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

[Solved] Avoid the pop up screen when the date cell is selected

1 Answer 68 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Karthick Purushothaman
Top achievements
Rank 1
Karthick Purushothaman asked on 18 Jun 2009, 10:35 AM


Hi Team,

I have an issur in the rad scheduler.

I want to block the appointment insertion pop up window which appears on the double click of the date cell in the scheduler, but at the same time i want to fire the server side event (samplescheduler_FormCreating) while clicking on the cell. if i keep the property AllowInsert ="false" i am not able to get the server side event while clicking on the cell.

When double click on the date cell of the scheduler i want to get a server side event without any appointment Insertion popup.




Thanks & Regards,
Sushanth Mathew

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 18 Jun 2009, 11:33 AM
Hello Karthick,

Please, try the following code and let us know if this is what you need:
 protected void RadScheduler1_FormCreating(object sender, Telerik.Web.UI.SchedulerFormCreatingEventArgs e)  
    {  
        if (e.Mode == Telerik.Web.UI.SchedulerFormMode.Insert)  
        {  
            e.Appointment.Subject = "test";  
            RadScheduler1.InsertAppointment(e.Appointment);  
            e.Cancel = 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
Karthick Purushothaman
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or