Telerik RadScheduler Add/Edit is not working on Live

3 posts, 1 answers
  1. Prashant
    Prashant avatar
    3 posts
    Member since:
    Aug 2011

    Posted 27 Aug 2013 Link to this post

    I am using a telerik radScheduler into my major project. and it is working fine on Local system.
    But on live it is not working fine.
    I can only view my scheduled activity, drag & drop activity, increase or decrease time span only.
    But when i try to create or edit an recurrence activity it open the edit mode but nothing work on it.
    Even insert and cancel buttons are also not working on edit mode.
    I am showing you simple example of my code over here, please have a look.
     Remember that it is working fine on local machine but on live it is not working.

    //on aspx page
     
        <div class="clear"></div>
            <telerik:RadScheduler ID="RadScheduler1" runat="server">
                <AppointmentContextMenus>
                    <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
                        <Items>
                            <telerik:RadMenuItem Text="Completed / Re-Initiate" ImageUrl="../Images/right-img.png" Value="complete"/>
                            <telerik:RadMenuItem Text="Notified" ImageUrl="../Images/calender_icon.gif"/>
                        </Items>
                    </telerik:RadSchedulerContextMenu>
                </AppointmentContextMenus>
                <TimeSlotContextMenus>
                    <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">
                        <Items>
                            <telerik:RadMenuItem Text="New Appointment" ImageUrl="../Images/plus.png" Value="CommandAddAppointment"></telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="New Recurring Appointment" ImageUrl="../Images/refresh-icon.gif" Value="CommandAddRecurringAppointment"></telerik:RadMenuItem>
                            <telerik:RadMenuItem IsSeparator="true"></telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Go to today" Value="CommandGoToToday"></telerik:RadMenuItem>
                        </Items>
                    </telerik:RadSchedulerContextMenu>
                </TimeSlotContextMenus>
            </telerik:RadScheduler>

    //on aspx.cs page
     
        protected void bindCalendar(DataTable dtSchedule)
        {
            RadScheduler1.DataSource = dtSchedule;
            //RadScheduler1.DataSourceID = "schedule_id";
            RadScheduler1.DataKeyField = "schedule_id";
            RadScheduler1.DataStartField = "schedule_from";
            RadScheduler1.DataEndField = "schedule_to";
            RadScheduler1.DataRecurrenceField = "schedule_record_data";
            RadScheduler1.DataDescriptionField = "schedule_description";
            RadScheduler1.DataRecurrenceParentKeyField = "schedule_record_key";
            RadScheduler1.DataSubjectField = "schedule_title";
            RadScheduler1.DataBind();
        }

    --table structure
    CREATE TABLE [ref].[scheduler](
        [schedule_id] [int] IDENTITY(1,1) NOT NULL,
        [schedule_title] [nvarchar](max) NULL,
        [schedule_from] [datetime] NULL,
        [schedule_to] [datetime] NULL,
        [schedule_record_key] [int] NULL,
        [schedule_record_data] [nvarchar](max) NULL,
        [schedule_description] [nvarchar](max) NULL,
        [activity_type] [nvarchar](max) NULL,
        [schedule_users] [nvarchar](max) NULL,
        [schedule_group] [nvarchar](max) NULL,
        [schedule_sop] [int] NULL,
        [schedule_days] [nvarchar](max) NULL,
        [schedule_occurence] [nvarchar](max) NULL,
        [schedule_by] [int] NULL,
        [schedule_date] [datetime] NULL,
        [schedule_modify_by] [int] NULL,
        [schedule_modify_date] [datetime] NULL,
        [schedule_is_completed] [bit] NULL,
        [schedule_completed_users] [nvarchar](max) NULL,
        [schedule_completed_group] [nvarchar](max) NULL,
        [schedule_is_delete] [bit] NULL,
        [schedule_form] [int] NULL,
        [schedule_division_fkid] [int] NULL,
        [schedule_company_fkid] [int] NULL,
        [schedule_sop_for] [int] NULL,
     CONSTRAINT [PK_scheduler] PRIMARY KEY CLUSTERED
    (
        [schedule_id] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]

  2. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 30 Aug 2013 Link to this post

    Hi Prashant,

    Please try checking if there are any exception thrown on the page when you deploy your site. In general the issue might be cased if the Telerik resources and not loaded on the page and thus causing the controls not to function properly.

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Prashant
    Prashant avatar
    3 posts
    Member since:
    Aug 2011

    Posted 02 Sep 2013 Link to this post

    Hii Kate,

    Thanks for your valuable support. I have re-install Telerik reference into my project and reestablish all Telerik dll files again on server. And now it is working totally fine.
Back to Top