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
Please, check if the problem is not related to this troubleshooting topic.
Greetings,
Peter
the Telerik team
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>
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
my application us running in full(internal) trust.
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