private bool EditAppointment(string appointmentID) { // Load the existing Appointment Guid appointmentGuid = new Guid(appointmentID); Appointment editApt = RadScheduler_Main.Appointments.FindByID(appointmentGuid); if (editApt == null) { return false; } RadScheduler_Main.ShowAdvancedEditForm(editApt); return true; }<telerik:RadScheduler ID="RadScheduler_Main" runat="server" StartInsertingInAdvancedForm="true" MinutesPerRow="15" Height="80%" SelectedView="TimelineView" FirstDayOfWeek="Monday" OnAppointmentInsert="RadScheduler_Main_AppointmentInsert" OnClientFormCreated="schedulerFormCreated" GroupingDirection="Vertical" OnClientAppointmentClick="OnClientAppointmentClick" OnAppointmentUpdate="RadScheduler_Main_AppointmentUpdated" OverflowBehavior="Scroll" AppointmentContextMenuSettings-EnableDefault="true" OnFormCreated="RadScheduler_Main_OnFormCreated"> <AdvancedForm Modal="true" /> <Reminders Enabled="false" /> <TimelineView NumberOfSlots="5" /> <ResourceStyles> <telerik:ResourceStyleMapping Type="App" ApplyCssClass="rsCategoryOrange" Text="ELN" /> <telerik:ResourceStyleMapping Type="App" ApplyCssClass="rsCategoryGreen" Text="Reporting" /> <telerik:ResourceStyleMapping Type="App" ApplyCssClass="rsCategoryYellow" Text="Stability" /> <telerik:ResourceStyleMapping Type="App" ApplyCssClass="rsCategoryBlue" Text="Sample Tracker" /> </ResourceStyles> <AdvancedEditTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" Subject='<%# Bind("Subject") %>' Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' ApplicationID = '<%# Bind("Applicationid") %>' Task='<%# Bind("Taskid") %>' /> </AdvancedEditTemplate> <AdvancedInsertTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Insert" Subject='<%# Bind("Subject") %>' Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' ApplicationID = '<%# Bind("Applicationid") %>'/> </AdvancedInsertTemplate> </telerik:RadScheduler>
<telerik:RadGrid ID="RadGridData" runat="server" AllowFilteringByColumn="True" AllowSorting="True" GridLines="None" ShowGroupPanel="True" AllowPaging="True" onneeddatasource="RadGridData_NeedDataSource" PageSize="25" ShowStatusBar="True" ViewStateMode="Enabled"> <MasterTableView Width="100%" Height="100%"> </MasterTableView> <ClientSettings AllowDragToGroup="True" AllowAutoScrollOnDragDrop="False"> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" /> </ClientSettings> <MasterTableView> <RowIndicatorColumn> <HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> </MasterTableView> <HeaderContextMenu EnableAutoScroll="True"></HeaderContextMenu> </telerik:RadGrid> document.getElementById("myTextBox").value = GetRadWindow().BrowserWindow.JsFn();hi
i use RadAsyncUpload for upload images to my site.
but when adobe flash player not installed in users computer and wants to upload, i get this error
System.Web.HttpException (0x80004005): The file '/Telerik.RadUploadProgressHandler.ashx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at http://elix.ir:80/Telerik.RadUploadProgressHandler.ashx?AsyncProgress=true&RadUrid=510fe1ef-2edf-4e70-be7c-40fe89b586a00&_=1245777283396
any body can tell me how can i fix this error?
I use telerik.web.UI v2011.1.419.40
and my web.config is:
<?xml version="1.0"?> <configuration> <system.web> <compilation debug="true" defaultLanguage="C#" targetFramework="4.0"> <assemblies> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"> <controls> <add tagPrefix="tlk" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" /> </controls> </pages> <httpHandlers> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" /> </httpHandlers> </system.web> <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <handlers> <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> <add name="ChartImage_axd" verb="*" preCondition="integratedMode" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" /> </handlers> </system.webServer> </configuration>