Open single occurrence of a recurring appointment

10 posts, 0 answers
  1. Naresh
    Naresh avatar
    45 posts
    Member since:
    Jul 2008

    Posted 28 Jan 2011 Link to this post

    Hi,
    I have a recurring appointment and i list all the occurrences in a datagrid. Now when i click on one of the occurrences, i would like to open/edit that occurrence, not the series. (currently it goes to the view of opening the series), Any suggestions how to achieve that?

    regards,
    Naresh
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 28 Jan 2011 Link to this post

    Hello Naresh,

    You can use:

    scheduler.editAppointment(apt, false).

    Here is the API reference table - http://www.telerik.com/help/aspnet-ajax/client-side-objects-radscheduler.html.

    editAppointment() - Appointment, Boolean (optional) None

    Starts editing the specified Appointment (switches to advanced edit form). Identical to double-clicking an Appointment (therefore the corresponding FormCreating and FormCreated server-side events will fire).

    The second parameter - editSeries - is optional and if set to true, all Appointments in the recurrence series will be edited; otherwise only the current occurrence will be edited and an exception will be created.


    Best wishes,
    Peter
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. Naresh
    Naresh avatar
    45 posts
    Member since:
    Jul 2008

    Posted 28 Jan 2011 Link to this post

    I am using ExpandReccurrence_UDF.dll  , that allows me to show the recurring activity as multiple activities in the list. So how do I differentiate between the current occurrence and other occurrences? because the ID for all the activities is same (as it should be). so when using 'scheduler.editAppointment(apt, false). ' what is the 'apt'? and how it is different from the other appointments in the list (as i don't have any exceptions created, and i am not editing/opening any exception)
  4. Naresh
    Naresh avatar
    45 posts
    Member since:
    Jul 2008

    Posted 31 Jan 2011 Link to this post

    Any help?
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 31 Jan 2011 Link to this post

    Hi Naresh,

    What is  your exact implementation?

    Here is help topic which might provide you with viable solution -
    http://www.telerik.com/help/aspnet-ajax/scheduler-edit-insert-appointment-single-click.html.


    Regards,
    Peter
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  6. Naresh
    Naresh avatar
    45 posts
    Member since:
    Jul 2008

    Posted 01 Feb 2011 Link to this post

    Hi,
    here i am attaching the screenshots.
    In a RadGrid i display all the occurrences of a recurring appointment. And when i click on  one of the occurrence it open the appointment in the 'Edit series' mode. I would like to open it in 'Edit this occurrence' mode. How can i do it?

    To show all occurrence of the recurring appointment, I  am using ExpandReccurrence_UDF.dll (provided by telerik).
    So, how can I use - scheduler.editAppointment(apt, false). How to specify that apt is that particular occurrence of the recurring appointment. 

    Check the screenshots, i hope now its more clear.
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Feb 2011 Link to this post

    Hi Naresh,

    How do you open the edit from - from a server side or client side?

    To take just the occurrence you can use the PrepareToEdit method of RadScheduler (also available on the client - prepareToEdit()).

    var occurrenceToEdit = scheduler.prepareToEdit(occurrence, false)
    occurenceToEdit.set_subject("modified");
    //set some other properties likewise
    scheduler.updateAppointment(occurrenceToEdit);

    Does this help?

    Greetings,
    Peter
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  8. Naresh
    Naresh avatar
    45 posts
    Member since:
    Jul 2008

    Posted 03 Feb 2011 Link to this post

    Its not exactly what i wanted, but still the link in the previous reply helped me to figure it out, how to solve it :), thanks.
  9. Joona
    Joona avatar
    5 posts
    Member since:
    Feb 2011

    Posted 29 Apr 2011 Link to this post

    Hi,

    I can't seem to get the PrepareToEdit function working. When I call it with:
     Dim recurrenceException as Appointment = RadScheduler1.PrepareToEdit(occurrence, False)
    The returned appointment is exactly same as the given appointment. For example there is property:
        RecurrenceState   which is always NotRecurring {0} shouldn't it be something like: Exception {3}

    When I try to use the created appointment it is handled as if I would be editing the series not creating a new exception.
    Could you advice me how could I change the series appointment to a exception appointment and give this exception appointment as parameter to ShowAdvancedEditForm.

    Could you check below where is the contents of the appointment object after Preparetoedit function and how I think the object should look after PrepareToEdit.

    BR
    Joona
    --------
    After calling PreparetoEdit:

    <i>-       Appointment   {Telerik.Web.UI.Appointment}   Telerik.Web.UI.Appointment<br>
            AllowDelete   True   Boolean<br>
            AllowEdit   True   Boolean<br>
    +       AppointmentControls   Count = 0   System.Collections.Generic.IList(Of Telerik.Web.UI.AppointmentControl)<br>
    +       Attributes   {System.Web.UI.AttributeCollection}   System.Web.UI.AttributeCollection<br>
    +       BackColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       BorderColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
            BorderStyle   NotSet {0}   System.Web.UI.WebControls.BorderStyle<br>
    +       BorderWidth   {}   System.Web.UI.WebControls.Unit<br>
            ClientID   ""   String<br>
            ContextMenuID   ""   String<br>
            CssClass   ""   String<br>
            DataItem   Nothing   Object<br>
            Description   ""   String<br>
    +       DomElements   Count = 0   System.Collections.Generic.IList(Of String)<br>
    +       Duration   {01:00:00}   System.TimeSpan<br>
            End   #4/29/2011 9:00:00 AM#   Date<br>
    +       Font   {}   System.Web.UI.WebControls.FontInfo<br>
    +       ForeColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       ID   398628 {Integer}   Object<br>
            IsTrackingViewState   False   Boolean<br>
    -       Owner   {Telerik.Web.UI.RadScheduler}   Telerik.Web.UI.RadScheduler<br>
            _adapter   Nothing   System.Web.UI.Adapters.ControlAdapter<br>
    +       _page   {ASP.calendar_calendar_aspx}   System.Web.UI.Page<br>
            AccessKey   ""   String<br>
    +       ActiveFormAppointment   {Telerik.Web.UI.Appointment}   Telerik.Web.UI.Appointment<br>
            ActiveFormMode   AdvancedEdit {4}   Telerik.Web.UI.SchedulerFormMode<br>
    +       ActiveModel   {Telerik.Web.UI.Scheduler.Views.Week.Model}   Telerik.Web.UI.Scheduler.Views.ISchedulerModel<br>
            ActiveSlotIndex   ""   String<br>
            Adapter   Nothing   System.Web.UI.Adapters.ControlAdapter<br>
    +       AdvancedEditTemplate   {System.Web.UI.CompiledBindableTemplateBuilder}   System.Web.UI.ITemplate<br>
    +       AdvancedForm   {Telerik.Web.UI.AdvancedFormSettings}   Telerik.Web.UI.AdvancedFormSettings<br>
    +       AdvancedInsertTemplate   {System.Web.UI.CompiledBindableTemplateBuilder}   System.Web.UI.ITemplate<br>
            AllowDelete   True   Boolean<br>
            AllowEdit   True   Boolean<br>
            AllowInsert   True   Boolean<br>
    +     
     AppointmentComparer   {Telerik.Web.UI.AppointmentComparer}   System.Collections.Generic.IComparer(Of
     Telerik.Web.UI.Appointment)<br>
    +     
     AppointmentContextMenus   {Telerik.Web.UI.RadSchedulerContextMenuCollection}   Telerik.Web.UI.RadSchedulerContextMenuCollection<br>
    +       AppointmentContextMenuSettings   {Telerik.Web.UI.ContextMenuSettings}   Telerik.Web.UI.ContextMenuSettings<br>
             
    AppointmentController   {Telerik.Web.UI.Scheduling.AppointmentController}   Telerik.Web.UI.Scheduling.AppointmentController<br>
    +       AppointmentFactory   {Telerik.Web.UI.Scheduling.DefaultAppointmentFactory}   Telerik.Web.UI.IAppointmentFactory<br>
    +       Appointments   {Telerik.Web.UI.AppointmentCollection}   Telerik.Web.UI.AppointmentCollection<br>
            AppointmentStyleMode   Auto {0}   Telerik.Web.UI.AppointmentStyleMode<br>
    +       AppointmentTemplate   {System.Web.UI.CompiledTemplateBuilder}   System.Web.UI.ITemplate<br>
            AppRelativeTemplateSourceDirectory   "~/calendar/"   String<br>
    +       Attributes   {System.Web.UI.AttributeCollection}   System.Web.UI.AttributeCollection<br>
    +       BackColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       BindingContainer   {ASP.calendar_calendar_aspx}   System.Web.UI.Control<br>
            BlankNavigateUrl   "#"   String<br>
    +       BorderColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
            BorderStyle   NotSet {0}   System.Web.UI.WebControls.BorderStyle<br>
    +       BorderWidth   {}   System.Web.UI.WebControls.Unit<br>
            ChildControlsCreated   False   Boolean<br>
            ClientID   "M_MP_RS"   String<br>
            ClientIDSeparator   "_"c   Char<br>
            ClientStateFieldID   "M_MP_RS_ClientState"   String<br>
    +       ColumnWidth   {}   System.Web.UI.WebControls.Unit<br>
    +       Context   {System.Web.HttpContext}   System.Web.HttpContext<br>
    +       Controls   {System.Web.UI.ControlCollection}   System.Web.UI.ControlCollection<br>
            ControlState   Loaded {5}   System.Web.UI.ControlState<br>
    +       ControlStyle   {Telerik.Web.UI.RadScheduler+SchedulerStyle}   System.Web.UI.WebControls.Style<br>
            ControlStyleCreated   True   Boolean<br>
            CssClass   ""   String<br>
            CssClassFormatString   "RadScheduler RadScheduler_{0}"   String<br>
    +       Culture   {en-GB}   System.Globalization.CultureInfo<br>
    +       CustomAttributeNames   {Length=12}   String()<br>
            DataDescriptionField   ""   String<br>
            DataEndField   "LogicalEndDateTime"   String<br>
            DataKeyField   "ID"   String<br>
            DataMember   ""   String<br>
            DataRecurrenceField   "RecurrenceRule"   String<br>
            DataRecurrenceParentKeyField   "RecurrenceParentActivityID"   String<br>
            DataSource   Nothing   Object<br>
            DataSourceID   ""   String<br>
    +       DataSourceObject   {System.Web.UI.WebControls.ReadOnlyDataSource}   System.Web.UI.IDataSource<br>
    +       DataSourceView   {System.Web.UI.WebControls.ReadOnlyDataSourceView}   System.Web.UI.DataSourceView<br>
            DataStartField   "LogicalStartDateTime"   String<br>
            DataSubjectField   "Name"   String<br>
    +       DayEndTime   {18:00:00}   System.TimeSpan<br>
    +       DayStartTime   {08:00:00}   System.TimeSpan<br>
    +       DayView   {Telerik.Web.UI.DayViewSettings}   Telerik.Web.UI.DayViewSettings<br>
            DefaultAdvancedFormRendered   False   Boolean<br>
            DefaultCssClass   "Default"   String<br>
            DesignMode   False   Boolean<br>
            DesignMode (Control)   False   Boolean<br>
            DisplayDeleteConfirmation   True   Boolean<br>
            DisplayRecurrenceActionDialogOnMove   False   Boolean<br>
            EditFormDateFormat   "d.M.yyyy"   String<br>
            EditFormTimeFormat   "H:mm"   String<br>
            EditingRecurringSeries   False   Boolean<br>
            EnableAdvancedForm   True   Boolean<br>
            EnableAjaxSkinRendering   True   Boolean<br>
            EnableCustomAttributeEditing   True   Boolean<br>
            Enabled   True   Boolean<br>
            EnableDatePicker   True   Boolean<br>
            EnableDescriptionField   False   Boolean<br>
            EnableEmbeddedBaseStylesheet   False   Boolean<br>
            EnableEmbeddedScripts   True   Boolean<br>
            EnableEmbeddedSkins   False   Boolean<br>
            EnableLegacyRendering   False   Boolean<br>
            EnableRecurrenceSupport   True   Boolean<br>
            EnableResourceEditing   True   Boolean<br>
            EnableTheming   True   Boolean<br>
            EnableViewState   True   Boolean<br>
            EnableViewStateDefault   True   Boolean<br>
            EventDataBinding   {Object}   Object<br>
            EventInit   {Object}   Object<br>
            EventLoad   {Object}   Object<br>
            EventPreRender   {Object}   Object<br>
    +       Events   {System.ComponentModel.EventHandlerList}   System.ComponentModel.EventHandlerList<br>
            EventUnload   {Object}   Object<br>
            FirstDayOfWeek   Monday {1}   System.DayOfWeek<br>
    +       flags   {System.Web.Util.SimpleBitVector32}   System.Web.Util.SimpleBitVector32<br>
    +       Font   {}   System.Web.UI.WebControls.FontInfo<br>
    +       ForeColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       FormContainer   {Telerik.Web.UI.SchedulerFormContainer}   Telerik.Web.UI.SchedulerFormContainer<br>
            GroupBy   ""   String<br>
            GroupingDirection   Horizontal {2}   Telerik.Web.UI.GroupingDirection<br>
            HasAttributes   False   Boolean<br>
            HasChildViewState   False   Boolean<br>
            HasCustomProvider   False   Boolean<br>
            HasDataSource   False   Boolean<br>
            HasDescriptionField   False   Boolean<br>
    +       Height   {400px}   System.Web.UI.WebControls.Unit<br>
            HoursPanelTimeFormat   "Htt"   String<br>
            ID   "RS"   String<br>
            ID_SEPARATOR   "$"c   Char<br>
            IdSeparator   "$"c   Char<br>
            IdSeparatorFromConfig   "$"c   Char<br>
            InAdvancedMode   True   Boolean<br>
            Initialized   True   Boolean<br>
    +       InlineEditTemplate   {Telerik.Web.UI.Scheduling.InlineEditTemplate}   System.Web.UI.ITemplate<br>
    +       InlineInsertTemplate   {System.Web.UI.CompiledBindableTemplateBuilder}   System.Web.UI.ITemplate<br>
            IsBindingContainer   True   Boolean<br>
            IsBoundUsingDataSourceID   False   Boolean<br>
            IsChildControlStateCleared   True   Boolean<br>
            IsEnabled   True   Boolean<br>
            IsParentedToUpdatePanel   True   Boolean<br>
            IsReloadable   False   Boolean<br>
            IsSkinSet   True   Boolean<br>
            IsTrackingViewState   True   Boolean<br>
            IsViewStateEnabled   True   Boolean<br>
            isWebControlDisabled   524288   Integer<br>
            JavaScriptDateFormat   "yyyy/MM/dd HH:mm"   String<br>
            LastDayOfWeek   Sunday {0}   System.DayOfWeek<br>
            LEGACY_ID_SEPARATOR   ":"c   Char<br>
            LoadViewStateByID   False   Boolean<br>
    +       Localization   {Telerik.Web.UI.SchedulerStrings}   Telerik.Web.UI.SchedulerStrings<br>
            MaximumRecurrenceCandidates   3000   Integer<br>
            MinimumInlineFormHeight   100   Integer<br>
            MinimumInlineFormWidth   250   Integer<br>
            MinutesPerRow   30   Integer<br>
    +       MonthView   {Telerik.Web.UI.MonthViewSettings}   Telerik.Web.UI.MonthViewSettings<br>
    +       MultiDayView   {Telerik.Web.UI.MultiDayViewSettings}   Telerik.Web.UI.MultiDayViewSettings<br>
    +       NamingContainer   {System.Web.UI.WebControls.ContentPlaceHolder}   System.Web.UI.Control<br>
            NumberOfHoveredRows   2   Integer<br>
            OnClientAppointmentClick   ""   String<br>
            OnClientAppointmentContextMenu   ""   String<br>
            OnClientAppointmentContextMenuItemClicked   ""   String<br>
            OnClientAppointmentContextMenuItemClicking   ""   String<br>
            OnClientAppointmentCreated   ""   String<br>
            OnClientAppointmentDataBound   ""   String<br>
            OnClientAppointmentDeleting   ""   String<br>
            OnClientAppointmentDoubleClick   ""   String<br>
            OnClientAppointmentEditing   ""   String<br>
            OnClientAppointmentInserting   ""   String<br>
            OnClientAppointmentMoveEnd   ""   String<br>
            OnClientAppointmentMoveStart   ""   String<br>
            OnClientAppointmentMoving   ""   String<br>
            OnClientAppointmentResizeEnd   ""   String<br>
            OnClientAppointmentResizeStart   ""   String<br>
            OnClientAppointmentResizing   ""   String<br>
            OnClientAppointmentSerialized   ""   String<br>
            OnClientAppointmentsPopulated   ""   String<br>
            OnClientAppointmentsPopulating   ""   String<br>
            OnClientAppointmentWebServiceDeleting   ""   String<br>
            OnClientAppointmentWebServiceInserting   ""   String<br>
            OnClientAppointmentWebServiceUpdating   ""   String<br>
            OnClientDataBound   ""   String<br>
            OnClientFormCreated   "schedulerFormCreated"   String<br>
            OnClientNavigationCommand   ""   String<br>
            OnClientNavigationComplete   ""   String<br>
            OnClientRecurrenceActionDialogClosed   ""   String<br>
            OnClientRecurrenceActionDialogShowing   ""   String<br>
            OnClientRecurrenceExceptionCreating   ""   String<br>
            OnClientRecurrenceExceptionsRemoving   ""   String<br>
            OnClientRequestFailed   ""   String<br>
            OnClientRequestSuccess   ""   String<br>
            OnClientResourcesPopulated   ""   String<br>
            OnClientResourcesPopulating   ""   String<br>
            OnClientTimeSlotClick   ""   String<br>
            OnClientTimeSlotContextMenu   ""   String<br>
            OnClientTimeSlotContextMenuItemClicked   ""   String<br>
            OnClientTimeSlotContextMenuItemClicking   ""   String<br>
            OverflowBehavior   Expand {2}   Telerik.Web.UI.OverflowBehavior<br>
    +       Page   {ASP.calendar_calendar_aspx}   System.Web.UI.Page<br>
    +       Parent   {System.Web.UI.WebControls.TableCell}   System.Web.UI.Control<br>
    +       PostBackDataHandler   {Telerik.Web.UI.RadScheduler}   System.Web.UI.IPostBackDataHandler<br>
    +       PostBackEventHandler   {Telerik.Web.UI.RadScheduler}   System.Web.UI.IPostBackEventHandler<br>
    +       Provider   {Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider}   Telerik.Web.UI.SchedulerProviderBase<br>
            ProviderContext   Nothing   Object<br>
            ProviderName   "Integrated"   String<br>
            ReadOnly   False   Boolean<br>
            RecurrenceSupport   True   Boolean<br>
            RegisterWithScriptManager   True   Boolean<br>
            RequiresDataBinding   False   Boolean<br>
            RequiresLegacyRendering   False   Boolean<br>
    +       ResourceHeaderTemplate   {Telerik.Web.UI.ResourceHeaderTemplate}   System.Web.UI.ITemplate<br>
    +       Resources   {Telerik.Web.UI.ResourceCollection}   Telerik.Web.UI.ResourceCollection<br>
    +       ResourceStyles   {Telerik.Web.UI.ResourceStyleMappingCollection}   Telerik.Web.UI.ResourceStyleMappingCollection<br>
    +       ResourceTypes   {Telerik.Web.UI.ResourceTypeCollection}   Telerik.Web.UI.ResourceTypeCollection<br>
    +       RowHeaderWidth   {52px}   System.Web.UI.WebControls.Unit<br>
    +       RowHeight   {25px}   System.Web.UI.WebControls.Unit<br>
            RuntimeSkin   "Default"   String<br>
            RuntimeSkinInternal   "Default"   String<br>
    +       ScriptManager   {System.Web.UI.ScriptManager}   System.Web.UI.ScriptManager<br>
    +       SelectArguments   {System.Web.UI.DataSourceSelectArguments}   System.Web.UI.DataSourceSelectArguments<br>
            SelectedDate   #4/29/2011 8:00:00 AM#   Date<br>
            SelectedView   WeekView {1}   Telerik.Web.UI.SchedulerViewType<br>
            ShowAllDayRow   True   Boolean<br>
            ShowDateHeaders   True   Boolean<br>
            ShowFooter   True   Boolean<br>
            ShowFullTime   False   Boolean<br>
            ShowHeader   True   Boolean<br>
            ShowHoursColumn   True   Boolean<br>
            ShowNavigationPane   True   Boolean<br>
            ShowResourceHeaders   True   Boolean<br>
            ShowViewTabs   True   Boolean<br>
            Site   Nothing   System.ComponentModel.ISite<br>
            Skin   "Default"   String<br>
            SkinID   ""   String<br>
             
    SpacerImageUrl   "/Website/WebResource.axd?d=tDQmp-3Egm9LCF4lfS3WXENTx6Ls0XgcNXR-8hPPw7xKe49ig7X0e31fcpoUt3dCNP__duKvrr3oMOlvKDi5KKY19TM1&t=634208886757546466"   String<br>
            StartEditingInAdvancedForm   True   Boolean<br>
            StartInsertingInAdvancedForm   False   Boolean<br>
    +       Style   {System.Web.UI.CssStyleCollection}   System.Web.UI.CssStyleCollection<br>
            TabIndex   0   Short<br>
            TagKey   Div {25}   System.Web.UI.HtmlTextWriterTag<br>
            TagName   "div"   String<br>
    +       TemplateControl   {ASP.calendar_calendar_aspx}   System.Web.UI.TemplateControl<br>
    +       TemplateControlVirtualDirectory   {/Website/calendar/}   System.Web.VirtualPath<br>
            TemplateSourceDirectory   "/Website/calendar"   String<br>
            TimeLabelRowSpan   2   Integer<br>
    +       TimelineView   {Telerik.Web.UI.TimelineViewSettings}   Telerik.Web.UI.TimelineViewSettings<br>
    +     
     TimeSlotContextMenus   {Telerik.Web.UI.RadSchedulerContextMenuCollection}   Telerik.Web.UI.RadSchedulerContextMenuCollection<br>
    +       TimeSlotContextMenuSettings   {Telerik.Web.UI.ContextMenuSettings}   Telerik.Web.UI.ContextMenuSettings<br>
    +       TimeZoneOffset   {00:00:00}   System.TimeSpan<br>
            ToolTip   ""   String<br>
            UniqueID   "M$MP$RS"   String<br>
            UseDefaultAdvancedEdit   False   Boolean<br>
            UseDefaultAdvancedInsert   False   Boolean<br>
            UseHorizontalScrolling   False   Boolean<br>
            UsingWebServiceBinding   False   Boolean<br>
            ValidationGroup   "M_MP_RS"   String<br>
    +       ViewState   {System.Web.UI.StateBag}   System.Web.UI.StateBag<br>
            ViewStateIgnoresCase   False   Boolean<br>
            Visible   True   Boolean<br>
    +       VisibleAppointments   {Telerik.Web.UI.AppointmentCollection}   Telerik.Web.UI.AppointmentCollection<br>
            VisibleRangeEnd   #5/2/2011#   Date<br>
            VisibleRangeStart   #4/25/2011#   Date<br>
    +       VisualTimeZoneOffset   {03:00:00}   System.TimeSpan<br>
            VisualToday   #4/29/2011#   Date<br>
    +       WebServiceSettings   {Telerik.Web.UI.SchedulerWebServiceSettings}   Telerik.Web.UI.SchedulerWebServiceSettings<br>
            WeekLength   7   Integer<br>
    +       WeekView   {Telerik.Web.UI.WeekViewSettings}   Telerik.Web.UI.WeekViewSettings<br>
    +       Width   {}   System.Web.UI.WebControls.Unit<br>
    +       WorkDayEndTime   {17:00:00}   System.TimeSpan<br>
    +       WorkDayStartTime   {08:00:00}   System.TimeSpan<br>
            RecurrenceParentID   Nothing   Object<br>
            RecurrenceRule   "DTSTART:20110429T020000Z 
    DTEND:20110429T030000Z 
    RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU 
    "   String<br>
            RecurrenceState   NotRecurring {0}   Telerik.Web.UI.RecurrenceState<br>
    +       Resources   {Telerik.Web.UI.ResourceCollection}   Telerik.Web.UI.ResourceCollection<br>
            Start   #4/29/2011 8:00:00 AM#   Date<br>
            Subject   "test"   String<br>
            ToolTip   "test: "   String<br>
    +       ViewState   {System.Web.UI.StateBag}   System.Web.UI.StateBag<br>
            Visible   True   Boolean</i>

    -------------------------------------
    How I think it should look (taken from calendar component when creating new exception):
    <br>
    -       Appointment   {Telerik.Web.UI.Appointment}   Telerik.Web.UI.Appointment<br>
            AllowDelete   True   Boolean<br>
            AllowEdit   True   Boolean<br>
    +       AppointmentControls   Count = 0   System.Collections.Generic.IList(Of Telerik.Web.UI.AppointmentControl)<br>
    +       Attributes   {System.Web.UI.AttributeCollection}   System.Web.UI.AttributeCollection<br>
    +       BackColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       BorderColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
            BorderStyle   NotSet {0}   System.Web.UI.WebControls.BorderStyle<br>
    +       BorderWidth   {}   System.Web.UI.WebControls.Unit<br>
            ClientID   ""   String<br>
            ContextMenuID   ""   String<br>
            CssClass   ""   String<br>
            DataItem   Nothing   Object<br>
            Description   ""   String<br>
    +       DomElements   Count = 0   System.Collections.Generic.IList(Of String)<br>
    +       Duration   {01:00:00}   System.TimeSpan<br>
            End   #4/29/2011 9:00:00 AM#   Date<br>
    +       Font   {}   System.Web.UI.WebControls.FontInfo<br>
    +       ForeColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
            ID   Nothing   Object<br>
            IsTrackingViewState   False   Boolean<br>
    -       Owner   {Telerik.Web.UI.RadScheduler}   Telerik.Web.UI.RadScheduler<br>
            _adapter   Nothing   System.Web.UI.Adapters.ControlAdapter<br>
    +       _page   {ASP.calendar_calendar_aspx}   System.Web.UI.Page<br>
            AccessKey   ""   String<br>
    +       ActiveFormAppointment   {Telerik.Web.UI.Appointment}   Telerik.Web.UI.Appointment<br>
            ActiveFormMode   AdvancedEdit {4}   Telerik.Web.UI.SchedulerFormMode<br>
    +       ActiveModel   {Telerik.Web.UI.Scheduler.Views.Week.Model}   Telerik.Web.UI.Scheduler.Views.ISchedulerModel<br>
            ActiveSlotIndex   "1:0:4"   String<br>
            Adapter   Nothing   System.Web.UI.Adapters.ControlAdapter<br>
    +       AdvancedEditTemplate   {System.Web.UI.CompiledBindableTemplateBuilder}   System.Web.UI.ITemplate<br>
    +       AdvancedForm   {Telerik.Web.UI.AdvancedFormSettings}   Telerik.Web.UI.AdvancedFormSettings<br>
    +       AdvancedInsertTemplate   {System.Web.UI.CompiledBindableTemplateBuilder}   System.Web.UI.ITemplate<br>
            AllowDelete   True   Boolean<br>
            AllowEdit   True   Boolean<br>
            AllowInsert   True   Boolean<br>
    +     
     AppointmentComparer   {Telerik.Web.UI.AppointmentComparer}   System.Collections.Generic.IComparer(Of
     Telerik.Web.UI.Appointment)<br>
    +     
     AppointmentContextMenus   {Telerik.Web.UI.RadSchedulerContextMenuCollection}   Telerik.Web.UI.RadSchedulerContextMenuCollection<br>
    +       AppointmentContextMenuSettings   {Telerik.Web.UI.ContextMenuSettings}   Telerik.Web.UI.ContextMenuSettings<br>
             
    AppointmentController   {Telerik.Web.UI.Scheduling.AppointmentController}   Telerik.Web.UI.Scheduling.AppointmentController<br>
    +       AppointmentFactory   {Telerik.Web.UI.Scheduling.DefaultAppointmentFactory}   Telerik.Web.UI.IAppointmentFactory<br>
    +       Appointments   {Telerik.Web.UI.AppointmentCollection}   Telerik.Web.UI.AppointmentCollection<br>
            AppointmentStyleMode   Auto {0}   Telerik.Web.UI.AppointmentStyleMode<br>
    +       AppointmentTemplate   {System.Web.UI.CompiledTemplateBuilder}   System.Web.UI.ITemplate<br>
            AppRelativeTemplateSourceDirectory   "~/calendar/"   String<br>
    +       Attributes   {System.Web.UI.AttributeCollection}   System.Web.UI.AttributeCollection<br>
    +       BackColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       BindingContainer   {ASP.calendar_calendar_aspx}   System.Web.UI.Control<br>
            BlankNavigateUrl   "#"   String<br>
    +       BorderColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
            BorderStyle   NotSet {0}   System.Web.UI.WebControls.BorderStyle<br>
    +       BorderWidth   {}   System.Web.UI.WebControls.Unit<br>
            ChildControlsCreated   False   Boolean<br>
            ClientID   "M_MP_RS"   String<br>
            ClientIDSeparator   "_"c   Char<br>
            ClientStateFieldID   "M_MP_RS_ClientState"   String<br>
    +       ColumnWidth   {}   System.Web.UI.WebControls.Unit<br>
    +       Context   {System.Web.HttpContext}   System.Web.HttpContext<br>
    +       Controls   {System.Web.UI.ControlCollection}   System.Web.UI.ControlCollection<br>
            ControlState   Loaded {5}   System.Web.UI.ControlState<br>
    +       ControlStyle   {Telerik.Web.UI.RadScheduler+SchedulerStyle}   System.Web.UI.WebControls.Style<br>
            ControlStyleCreated   True   Boolean<br>
            CssClass   ""   String<br>
            CssClassFormatString   "RadScheduler RadScheduler_{0}"   String<br>
    +       Culture   {en-GB}   System.Globalization.CultureInfo<br>
    +       CustomAttributeNames   {Length=12}   String()<br>
            DataDescriptionField   ""   String<br>
            DataEndField   "LogicalEndDateTime"   String<br>
            DataKeyField   "ID"   String<br>
            DataMember   ""   String<br>
            DataRecurrenceField   "RecurrenceRule"   String<br>
            DataRecurrenceParentKeyField   "RecurrenceParentActivityID"   String<br>
            DataSource   Nothing   Object<br>
            DataSourceID   ""   String<br>
    +       DataSourceObject   {System.Web.UI.WebControls.ReadOnlyDataSource}   System.Web.UI.IDataSource<br>
    +       DataSourceView   {System.Web.UI.WebControls.ReadOnlyDataSourceView}   System.Web.UI.DataSourceView<br>
            DataStartField   "LogicalStartDateTime"   String<br>
            DataSubjectField   "Name"   String<br>
    +       DayEndTime   {18:00:00}   System.TimeSpan<br>
    +       DayStartTime   {08:00:00}   System.TimeSpan<br>
    +       DayView   {Telerik.Web.UI.DayViewSettings}   Telerik.Web.UI.DayViewSettings<br>
            DefaultAdvancedFormRendered   False   Boolean<br>
            DefaultCssClass   "Default"   String<br>
            DesignMode   False   Boolean<br>
            DesignMode (Control)   False   Boolean<br>
            DisplayDeleteConfirmation   True   Boolean<br>
            DisplayRecurrenceActionDialogOnMove   False   Boolean<br>
            EditFormDateFormat   "d.M.yyyy"   String<br>
            EditFormTimeFormat   "H:mm"   String<br>
            EditingRecurringSeries   False   Boolean<br>
            EnableAdvancedForm   True   Boolean<br>
            EnableAjaxSkinRendering   False   Boolean<br>
            EnableCustomAttributeEditing   True   Boolean<br>
            Enabled   True   Boolean<br>
            EnableDatePicker   True   Boolean<br>
            EnableDescriptionField   False   Boolean<br>
            EnableEmbeddedBaseStylesheet   False   Boolean<br>
            EnableEmbeddedScripts   True   Boolean<br>
            EnableEmbeddedSkins   False   Boolean<br>
            EnableLegacyRendering   False   Boolean<br>
            EnableRecurrenceSupport   True   Boolean<br>
            EnableResourceEditing   True   Boolean<br>
            EnableTheming   True   Boolean<br>
            EnableViewState   True   Boolean<br>
            EnableViewStateDefault   True   Boolean<br>
            EventDataBinding   {Object}   Object<br>
            EventInit   {Object}   Object<br>
            EventLoad   {Object}   Object<br>
            EventPreRender   {Object}   Object<br>
    +       Events   {System.ComponentModel.EventHandlerList}   System.ComponentModel.EventHandlerList<br>
            EventUnload   {Object}   Object<br>
            FirstDayOfWeek   Monday {1}   System.DayOfWeek<br>
    +       flags   {System.Web.Util.SimpleBitVector32}   System.Web.Util.SimpleBitVector32<br>
    +       Font   {}   System.Web.UI.WebControls.FontInfo<br>
    +       ForeColor   "{Name=0, ARGB=(0, 0, 0, 0)}"   System.Drawing.Color<br>
    +       FormContainer   {Telerik.Web.UI.SchedulerFormContainer}   Telerik.Web.UI.SchedulerFormContainer<br>
            GroupBy   ""   String<br>
            GroupingDirection   Horizontal {2}   Telerik.Web.UI.GroupingDirection<br>
            HasAttributes   False   Boolean<br>
            HasChildViewState   False   Boolean<br>
            HasCustomProvider   False   Boolean<br>
            HasDataSource   False   Boolean<br>
            HasDescriptionField   False   Boolean<br>
    +       Height   {400px}   System.Web.UI.WebControls.Unit<br>
            HoursPanelTimeFormat   "Htt"   String<br>
            ID   "RS"   String<br>
            ID_SEPARATOR   "$"c   Char<br>
            IdSeparator   "$"c   Char<br>
            IdSeparatorFromConfig   "$"c   Char<br>
            InAdvancedMode   True   Boolean<br>
            Initialized   True   Boolean<br>
    +       InlineEditTemplate   {Telerik.Web.UI.Scheduling.InlineEditTemplate}   System.Web.UI.ITemplate<br>
    +       InlineInsertTemplate   {System.Web.UI.CompiledBindableTemplateBuilder}   System.Web.UI.ITemplate<br>
            IsBindingContainer   True   Boolean<br>
            IsBoundUsingDataSourceID   False   Boolean<br>
            IsChildControlStateCleared   True   Boolean<br>
            IsEnabled   True   Boolean<br>
            IsParentedToUpdatePanel   True   Boolean<br>
            IsReloadable   False   Boolean<br>
            IsSkinSet   True   Boolean<br>
            IsTrackingViewState   True   Boolean<br>
            IsViewStateEnabled   True   Boolean<br>
            isWebControlDisabled   524288   Integer<br>
            JavaScriptDateFormat   "yyyy/MM/dd HH:mm"   String<br>
            LastDayOfWeek   Sunday {0}   System.DayOfWeek<br>
            LEGACY_ID_SEPARATOR   ":"c   Char<br>
            LoadViewStateByID   False   Boolean<br>
    +       Localization   {Telerik.Web.UI.SchedulerStrings}   Telerik.Web.UI.SchedulerStrings<br>
            MaximumRecurrenceCandidates   3000   Integer<br>
            MinimumInlineFormHeight   100   Integer<br>
            MinimumInlineFormWidth   250   Integer<br>
            MinutesPerRow   30   Integer<br>
    +       MonthView   {Telerik.Web.UI.MonthViewSettings}   Telerik.Web.UI.MonthViewSettings<br>
    +       MultiDayView   {Telerik.Web.UI.MultiDayViewSettings}   Telerik.Web.UI.MultiDayViewSettings<br>
    +       NamingContainer   {System.Web.UI.WebControls.ContentPlaceHolder}   System.Web.UI.Control<br>
            NumberOfHoveredRows   2   Integer<br>
            OnClientAppointmentClick   ""   String<br>
            OnClientAppointmentContextMenu   ""   String<br>
            OnClientAppointmentContextMenuItemClicked   ""   String<br>
            OnClientAppointmentContextMenuItemClicking   ""   String<br>
            OnClientAppointmentCreated   ""   String<br>
            OnClientAppointmentDataBound   ""   String<br>
            OnClientAppointmentDeleting   ""   String<br>
            OnClientAppointmentDoubleClick   ""   String<br>
            OnClientAppointmentEditing   ""   String<br>
            OnClientAppointmentInserting   ""   String<br>
            OnClientAppointmentMoveEnd   ""   String<br>
            OnClientAppointmentMoveStart   ""   String<br>
            OnClientAppointmentMoving   ""   String<br>
            OnClientAppointmentResizeEnd   ""   String<br>
            OnClientAppointmentResizeStart   ""   String<br>
            OnClientAppointmentResizing   ""   String<br>
            OnClientAppointmentSerialized   ""   String<br>
            OnClientAppointmentsPopulated   ""   String<br>
            OnClientAppointmentsPopulating   ""   String<br>
            OnClientAppointmentWebServiceDeleting   ""   String<br>
            OnClientAppointmentWebServiceInserting   ""   String<br>
            OnClientAppointmentWebServiceUpdating   ""   String<br>
            OnClientDataBound   ""   String<br>
            OnClientFormCreated   "schedulerFormCreated"   String<br>
            OnClientNavigationCommand   ""   String<br>
            OnClientNavigationComplete   ""   String<br>
            OnClientRecurrenceActionDialogClosed   ""   String<br>
            OnClientRecurrenceActionDialogShowing   ""   String<br>
            OnClientRecurrenceExceptionCreating   ""   String<br>
            OnClientRecurrenceExceptionsRemoving   ""   String<br>
            OnClientRequestFailed   ""   String<br>
            OnClientRequestSuccess   ""   String<br>
            OnClientResourcesPopulated   ""   String<br>
            OnClientResourcesPopulating   ""   String<br>
            OnClientTimeSlotClick   ""   String<br>
            OnClientTimeSlotContextMenu   ""   String<br>
            OnClientTimeSlotContextMenuItemClicked   ""   String<br>
            OnClientTimeSlotContextMenuItemClicking   ""   String<br>
            OverflowBehavior   Expand {2}   Telerik.Web.UI.OverflowBehavior<br>
    +       Page   {ASP.calendar_calendar_aspx}   System.Web.UI.Page<br>
    +       Parent   {System.Web.UI.WebControls.TableCell}   System.Web.UI.Control<br>
    +       PostBackDataHandler   {Telerik.Web.UI.RadScheduler}   System.Web.UI.IPostBackDataHandler<br>
    +       PostBackEventHandler   {Telerik.Web.UI.RadScheduler}   System.Web.UI.IPostBackEventHandler<br>
    +       Provider   {Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider}   Telerik.Web.UI.SchedulerProviderBase<br>
            ProviderContext   Nothing   Object<br>
            ProviderName   "Integrated"   String<br>
            ReadOnly   False   Boolean<br>
            RecurrenceSupport   True   Boolean<br>
            RegisterWithScriptManager   True   Boolean<br>
            RequiresDataBinding   False   Boolean<br>
            RequiresLegacyRendering   False   Boolean<br>
    +       ResourceHeaderTemplate   {Telerik.Web.UI.ResourceHeaderTemplate}   System.Web.UI.ITemplate<br>
    +       Resources   {Telerik.Web.UI.ResourceCollection}   Telerik.Web.UI.ResourceCollection<br>
    +       ResourceStyles   {Telerik.Web.UI.ResourceStyleMappingCollection}   Telerik.Web.UI.ResourceStyleMappingCollection<br>
    +       ResourceTypes   {Telerik.Web.UI.ResourceTypeCollection}   Telerik.Web.UI.ResourceTypeCollection<br>
    +       RowHeaderWidth   {52px}   System.Web.UI.WebControls.Unit<br>
    +       RowHeight   {25px}   System.Web.UI.WebControls.Unit<br>
            RuntimeSkin   "Default"   String<br>
            RuntimeSkinInternal   "Default"   String<br>
    +       ScriptManager   {System.Web.UI.ScriptManager}   System.Web.UI.ScriptManager<br>
    +       SelectArguments   {System.Web.UI.DataSourceSelectArguments}   System.Web.UI.DataSourceSelectArguments<br>
            SelectedDate   #4/29/2011#   Date<br>
            SelectedView   WeekView {1}   Telerik.Web.UI.SchedulerViewType<br>
            ShowAllDayRow   True   Boolean<br>
            ShowDateHeaders   True   Boolean<br>
            ShowFooter   True   Boolean<br>
            ShowFullTime   False   Boolean<br>
            ShowHeader   True   Boolean<br>
            ShowHoursColumn   True   Boolean<br>
            ShowNavigationPane   True   Boolean<br>
            ShowResourceHeaders   True   Boolean<br>
            ShowViewTabs   True   Boolean<br>
            Site   Nothing   System.ComponentModel.ISite<br>
            Skin   "Default"   String<br>
            SkinID   ""   String<br>
             
    SpacerImageUrl   "/Website/WebResource.axd?d=tDQmp-3Egm9LCF4lfS3WXENTx6Ls0XgcNXR-8hPPw7xKe49ig7X0e31fcpoUt3dCNP__duKvrr3oMOlvKDi5KKY19TM1&t=634208886757546466"   String<br>
            StartEditingInAdvancedForm   True   Boolean<br>
            StartInsertingInAdvancedForm   False   Boolean<br>
    +       Style   {System.Web.UI.CssStyleCollection}   System.Web.UI.CssStyleCollection<br>
            TabIndex   0   Short<br>
            TagKey   Div {25}   System.Web.UI.HtmlTextWriterTag<br>
            TagName   "div"   String<br>
    +       TemplateControl   {ASP.calendar_calendar_aspx}   System.Web.UI.TemplateControl<br>
    +       TemplateControlVirtualDirectory   {/Website/calendar/}   System.Web.VirtualPath<br>
            TemplateSourceDirectory   "/Website/calendar"   String<br>
            TimeLabelRowSpan   2   Integer<br>
    +       TimelineView   {Telerik.Web.UI.TimelineViewSettings}   Telerik.Web.UI.TimelineViewSettings<br>
    +     
     TimeSlotContextMenus   {Telerik.Web.UI.RadSchedulerContextMenuCollection}   Telerik.Web.UI.RadSchedulerContextMenuCollection<br>
    +       TimeSlotContextMenuSettings   {Telerik.Web.UI.ContextMenuSettings}   Telerik.Web.UI.ContextMenuSettings<br>
    +       TimeZoneOffset   {00:00:00}   System.TimeSpan<br>
            ToolTip   ""   String<br>
            UniqueID   "M$MP$RS"   String<br>
            UseDefaultAdvancedEdit   False   Boolean<br>
            UseDefaultAdvancedInsert   False   Boolean<br>
            UseHorizontalScrolling   False   Boolean<br>
            UsingWebServiceBinding   False   Boolean<br>
            ValidationGroup   "M_MP_RS"   String<br>
    +       ViewState   {System.Web.UI.StateBag}   System.Web.UI.StateBag<br>
            ViewStateIgnoresCase   False   Boolean<br>
            Visible   True   Boolean<br>
    +       VisibleAppointments   {Telerik.Web.UI.AppointmentCollection}   Telerik.Web.UI.AppointmentCollection<br>
            VisibleRangeEnd   #5/2/2011#   Date<br>
            VisibleRangeStart   #4/25/2011#   Date<br>
    +       VisualTimeZoneOffset   {03:00:00}   System.TimeSpan<br>
            VisualToday   #4/29/2011#   Date<br>
    +       WebServiceSettings   {Telerik.Web.UI.SchedulerWebServiceSettings}   Telerik.Web.UI.SchedulerWebServiceSettings<br>
            WeekLength   7   Integer<br>
    +       WeekView   {Telerik.Web.UI.WeekViewSettings}   Telerik.Web.UI.WeekViewSettings<br>
    +       Width   {}   System.Web.UI.WebControls.Unit<br>
    +       WorkDayEndTime   {17:00:00}   System.TimeSpan<br>
    +       WorkDayStartTime   {08:00:00}   System.TimeSpan<br>
    +       RecurrenceParentID   398628 {Integer}   Object<br>
            RecurrenceRule   ""   String<br>
            RecurrenceState   Exception {3}   Telerik.Web.UI.RecurrenceState<br>
    +       Resources   {Telerik.Web.UI.ResourceCollection}   Telerik.Web.UI.ResourceCollection<br>
            Start   #4/29/2011 8:00:00 AM#   Date<br>
            Subject   "test"   String<br>
            ToolTip   "test"   String<br>
    +       ViewState   {System.Web.UI.StateBag}   System.Web.UI.StateBag<br>
            Visible   True   Boolean<br>





  10. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 05 May 2011 Link to this post

    Hello Joona,

    Please, follow this forum thread about the same issue-
    http://www.telerik.com/community/forums/aspnet-ajax/scheduler/preparetoedit-doesn-t-do-anything.aspx

    Greetings,
    Peter
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top