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

Add Appointment form not appearing

6 Answers 77 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 04 Sep 2010, 10:37 PM
Hello,

I was testing a simple scheduler control scenario in visual studio.  In Visual studio 2010 everything works fine when using start without debug.  When I double click or right click the Add Appointment Form appears.

I published the site out to IIS 7 on Windows server 2008 R2 and when I double click the control or use the context menu (

Value

 

 

="CommandAddAppointment")  the page just refreshes and no form appears.

 

6 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Sep 2010, 09:03 AM
Hello Michael,

Please, check if the problem is not related to this troubleshooting topic.


Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michael
Top achievements
Rank 1
answered on 06 Sep 2010, 04:55 PM
Thank you for the response,

I can actually browse to /Telerik.Web.UI.WebResource.axd after my domain name from the internet and get a blank page.  Does this rule out what you described before?

I can provide more details as to whats happening now.

The basic inline appointment edit box always opens. Anytime I click save from there the page would simply refresh and reflect no change.  If i tried to click to open the advanced  edit form again it would just refresh with no changes.

I configured the RadAjaxManager to ajaxify Scheduler control and now instead of just nothing happening, I now get an error PageRequestManagerParseErrorException.  Again everything works perfectly when I run it from within Visual Studio 2010.  I can create appointment edit them.  The information writes to the database.  When I view the page from the webserver I actually can see the changes I made while running it from within visual studio, but any editing/moving produces either an error if ajaxified, or does nothing if not.  Heres some code snippets.

<

 

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

    <AjaxSettings>

 

 

 

        <telerik:AjaxSetting AjaxControlID="RadScheduler1">

 

 

 

            <UpdatedControls>

 

 

 

                <telerik:AjaxUpdatedControl ControlID="RadScheduler1" />

 

 

 

            </UpdatedControls>

 

 

 

        </telerik:AjaxSetting>

 

 

 

    </AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

<

 

 

telerik:RadScheduler ID="RadScheduler1" runat="server" AppointmentStyleMode="Default"

 

 

 

 

 

 

 

BackColor="Yellow" DataEndField="EndTime" DataKeyField="ID" DataSourceID="SqlDataSource1"

 

 

 

 

 

 

 

DataStartField="StartTime" DataSubjectField="Subject" DayEndTime="23.00:00:00"

 

 

 

 

 

 

 

DayStartTime="00:00:00" EnableRecurrenceSupport="False" Height="" MinutesPerRow="60"

 

 

 

 

 

 

 

NumberOfHoveredRows="2" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"

 

 

 

 

 

 

 

SelectedView="WeekView" ShowAllDayRow="False" ShowFooter="False" ShowFullTime="True"

 

 

 

 

 

 

 

ShowHeader="False" ShowNavigationPane="False" ShowViewTabs="False" Skin="WebBlue"

 

 

 

 

 

 

 

TimeLabelRowSpan="1" WorkDayEndTime="24.00:00:00" WorkDayStartTime="00:00:00"

 

 

 

 

 

 

 

Width="600px">

 

 

 

 

 

 

 

<AdvancedForm Modal="True" />

 

 

 

 

 

 

 

<WeekView ColumnHeaderDateFormat="ddd" DayEndTime="24.00:00:00" DayStartTime="00:00:00"

 

 

 

 

 

 

 

HeaderDateFormat="ddd" WorkDayEndTime="24.00:00:00" WorkDayStartTime="00:00:00" />

 

 

 

 

 

 

 

<AppointmentContextMenuSettings EnableDefault="True" />

 

 

 

 

 

 

 

<TimeSlotContextMenus>

 

 

 

 

 

 

 

<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">

 

 

 

 

 

 

 

<Items>

 

 

 

 

 

 

 

<telerik:RadMenuItem Text="Add Item" Value="CommandAddAppointment" />

 

 

 

 

 

 

 

</Items>

 

 

 

 

 

 

 

</telerik:RadSchedulerContextMenu>

 

 

 

 

 

 

 

</TimeSlotContextMenus>

 

 

 

 

 

 

 

</telerik:RadScheduler>

 

 

 

 


Heres the Web Config

 

<?

 

 

xml version="1.0"?>

 

    <

 

 

configuration>

 

        <

 

 

connectionStrings>

 

            <{o

 

 

mitted for privacy reasons} />

 

        </

 

 

connectionStrings>

 

    <

 

 

appSettings>

 

        <

 

 

add key="Telerik.Skin" value="WebBlue" />

 

 

 

 

 

 

    </

 

 

appSettings>

 

<

 

 

system.web>

 

    <

 

 

compilation debug="false" targetFramework="4.0" />

 

        <

 

 

pages>

 

            <

 

 

controls>

 

                <

 

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />

 

            </

 

 

controls>

 

        </

 

 

pages>

 

<

 

 

httpHandlers>

 

 

 

 

 

    <

 

 

add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />

 

    <

 

 

add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />

 

    <

 

 

add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />

 

    <

 

 

add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />

 

    <

 

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

 

</

 

 

httpHandlers>

 

    <

 

 

httpModules>

 

        <

 

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />

 

        <

 

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" />

 

 

 

 

 

</

 

 

httpModules>

 

</

 

 

system.web>

 

 

 

 

 

<

 

 

system.webServer>

 

    <

 

 

validation validateIntegratedModeConfiguration="false" />

 

    <

 

 

modules runAllManagedModulesForAllRequests="true">

 

        <

 

 

remove name="RadUploadModule" />

 

        <

 

 

add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />

 

        <

 

 

remove name="RadCompression" />

 

        <

 

 

add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />

 

 

 

 

 

    </

 

 

modules>

 

    <

 

 

handlers>

 

        <

 

 

remove name="ChartImage_axd" />

 

        <

 

 

add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />

 

        <

 

 

remove name="Telerik_Web_UI_SpellCheckHandler_axd" />

 

        <

 

 

add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />

 

        <

 

 

remove name="Telerik_Web_UI_DialogHandler_aspx" />

 

        <

 

 

add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />

 

        <

 

 

remove name="Telerik_RadUploadProgressHandler_ashx" />

 

        <

 

 

add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />

 

        <

 

 

remove name="Telerik_Web_UI_WebResource_axd" />

 

        <

 

 

add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />

 

    </

 

 

handlers>

 

</

 

 

system.webServer>

 

</

 

 

configuration>

 

0
Michael
Top achievements
Rank 1
answered on 09 Sep 2010, 06:52 AM
I made a discovery.  It seems that all ajax fails if im working from http://domain.com/ but if I manually goto http://domain.com/Default.aspx then ajax works as expected.  This is strange since I have Default.aspx as a default document in IIS settings and I have several other websites running and NEVER encountered this problem.  Any ideas?
0
Peter
Telerik team
answered on 09 Sep 2010, 02:29 PM

Is your application is running in Medium trust? If yes, then please check if the problem is not related to this topic: http://www.telerik.com/help/aspnet-ajax/ajax-in-medium-trust.html.


Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michael
Top achievements
Rank 1
answered on 09 Sep 2010, 04:20 PM
Thanks for following up,

my application us running in full(internal) trust.
0
Peter
Telerik team
answered on 14 Sep 2010, 03:30 PM
Hi Michael,

Can you disable RadAjaxManager (set EnableAJAX="false") or remove any ajax update panels and let me know if the problem persists.


Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Michael
Top achievements
Rank 1
Answers by
Peter
Telerik team
Michael
Top achievements
Rank 1
Share this question
or