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>
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FXOrderProducts.ascx.cs" Inherits="FXOrderProducts" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" pagesize="100" OnRowDrop="RadGrid1_RowDrop" OnItemUpdated="RadGrid1_ItemUpdated" OnUpdateCommand="RadGrid1_UpdateCommand" OnDeleteCommand="RadGrid1_DeleteCommand" AllowMultiRowSelection="True" OnItemDataBound = "RadGrid1_OnItemDataBound" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCreated="RadGrid1_ItemCreated" OnExcelExportCellFormatting="RadGrid1_ExcelExportCellFormatting" EnableAJAX = "true" Skin="Windows7" Height="450px"> <MasterTableView DataKeyNames="Id" Width="100%" TableLayout="Fixed" AutoGenerateColumns="False" > <NoRecordsTemplate> <div style="height: 30px; cursor: pointer;">No products to view</div> </NoRecordsTemplate> <PagerStyle Mode="NumericPages" PageButtonCount="10" /> <Columns> <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="30px" ItemStyle-Width="30px" /> <telerik:GridBoundColumn DataField="GroupName" HeaderText="Group" SortExpression="GroupName" UniqueName="Group" ReadOnly="True" DataFormatString="<nobr>{0}</nobr>" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ProductName" HeaderText="Product" SortExpression="ProductName" UniqueName="ProductName" ReadOnly="True" DataFormatString="<nobr>{0}</nobr>" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Product.Vendor" HeaderText="Mfg." SortExpression="Product.Vendor" UniqueName="Vendor" ReadOnly="True" DataFormatString="<nobr>{0}</nobr>" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Description" HeaderText="Description" SortExpression="Description" UniqueName="Description" ColumnEditorID="GridDescriptionEditor" EditFormColumnIndex="1" ItemStyle-Width="70px" HeaderStyle-Width="70px" DataFormatString="<nobr>{0}</nobr>" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Family" HeaderText="Family" SortExpression="Family" UniqueName="Family" ReadOnly="True" DataFormatString="<nobr>{0}</nobr>"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Price" HeaderText="List Price" SortExpression="Price" UniqueName="Price" ReadOnly="true" DataFormatString="{0:C}" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ProductProgram.Program" HeaderText="Program" SortExpression="ProductProgram.Program" UniqueName="Program" ReadOnly="True" DataFormatString="<nobr>{0}</nobr>" Display="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CalculatedPrice" HeaderText="Sell Price" SortExpression="CalculatedPrice" UniqueName="CalculatedPrice" DataFormatString="{0:C}" ColumnEditorID="GridSellPriceEditor" EditFormColumnIndex="0" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Quantity" HeaderText="Qty" SortExpression="Quantity" UniqueName="Quantity" ReadOnly="False" ColumnEditorID="GridQuantityEditor" EditFormColumnIndex="0" ItemStyle-Width="40px" HeaderStyle-Width="40px" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ExtendedPrice" HeaderText="Ext Price" SortExpression="ExtendedPrice" UniqueName="ExtendedPrice" ReadOnly="true" DataFormatString="{0:C}" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ProdCost" HeaderText="Cost" SortExpression="ProdCost" UniqueName="Cost" DataFormatString="{0:C}" ColumnEditorID="GridCostEditor" EditFormColumnIndex="0"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Margin" HeaderText="Margin" SortExpression="Margin" UniqueName="Margin" ReadOnly="True" DataFormatString="{0:C}" Display="false"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="MarginPercent" HeaderText="Margin %" SortExpression="MarginPercent" UniqueName="MarginPct" ReadOnly="True" > </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Product.Status" HeaderText="Status" SortExpression="Product.Status" UniqueName="Status" ReadOnly="True" > </telerik:GridBoundColumn> <telerik:GridCheckBoxColumn UniqueName="Optional" DataField="Optional" HeaderText="Opt." ItemStyle-Width="40px" HeaderStyle-Width="40px" > </telerik:GridCheckBoxColumn> <telerik:GridBoundColumn DataField="Optional" HeaderText="Optional" SortExpression="Optional" UniqueName="Optional" ReadOnly="True" Visible="false" > </telerik:GridBoundColumn> <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="Delete" ConfirmText="Are you sure you want to delete this item?" HeaderStyle-Width="35px" ButtonType="ImageButton" ImageUrl="~/Images/Icons/Power2Order/Delete_16x16.png"> </telerik:GridButtonColumn> </Columns> <EditFormSettings UserControlName="SmartParts/SalesOrder/FXEditProduct.ascx" EditFormType="WebUserControl" > <EditColumn UniqueName="EditCommandColumn1"> </EditColumn> </EditFormSettings> </MasterTableView> <ClientSettings AllowRowsDragDrop="True" EnableRowHoverStyle="true"> <Selecting AllowRowSelect="true" EnableDragToSelectRows="false" /> <Scrolling AllowScroll="true" UseStaticHeaders="true" /> <ClientEvents OnRowDropping="onRowDropping" OnRowDblClick="GridRowDblClick" OnGridCreated="GridCreated" /> <Resizing EnableRealTimeResize="True" ResizeGridOnColumnResize="False" AllowColumnResize="True" /> </ClientSettings></telerik:RadGrid>GridButtonColumn btncol = new GridButtonColumn(); this.RadGrid1.MasterTableView.Columns.Add(btncol); btncol.ButtonType = GridButtonColumnType.ImageButton; btncol.HeaderStyle.Width = 10; btncol.CommandName = "Delete"; btncol.Text = "delete"; btncol.UniqueName = "DeleteColumn"; btncol.CommandArgument = "Child"; btncol.ConfirmDialogType = GridConfirmDialogType.RadWindow; btncol.ConfirmText = "Are You Sure Want To Delete This Record?"; btncol.ConfirmTitle = "Delete Confirm";<%@ Assembly Name="SIMS.UI.UserControls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bc6fb793b8a12a45" %> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MaintainUserPermissions.ascx.cs" Inherits="SIMS.UI.UserControls.Security.MaintainUserPermissions" EnableViewState="true" %> <%@ Register TagPrefix="sims" TagName="DisplayMessageControl" Src="~/_Layouts/SIMSControls/Common/UserControls/DisplayMessageControl.ascx" %> <%@ Register TagPrefix="sims" TagName="MessagePrompt" Src="~/_Layouts/SIMSControls/Common/UserControls/MessagePromptControl.ascx" %> <asp:ScriptManagerProxy ID="maintainUserPermissionsScriptManagerProxy" runat="server" /> <div> <asp:Panel ID="pnlUserPermissionsContainer" runat="server"> <asp:UpdatePanel ID="mainUpdatePanel" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:HiddenField ID="hfSiteRoleUserData" runat="server" /> <asp:HiddenField ID="hfSiteModuleData" runat="server" /> <asp:HiddenField ID="hfModuleRoleData" runat="server" /> <asp:Panel ID="pnlMessageControl" runat="server" Visible="false"> <sims:DisplayMessageControl ID="dmcMessageControl" runat="server" Visible="false" /> </asp:Panel> <table width="100%"> <tr> <td style="width: 25%; vertical-align: top"> <asp:Label ID="lblUsers" CssClass="label" Text="Users" runat="server" /><br /> <div class="rlbDiv"> <telerik:RadListBox Width="100%" ID="rlbUsers" runat="server" CheckBoxes="true" Skin="" OnClientSelectedIndexChanged="SelectedUserChanged" OnClientItemChecked="UserChecked" /> </div> </td> <td style="width: 25%; vertical-align: top"> <asp:Label ID="lblAgencies" CssClass="label" Text="Agencies" runat="server" /><br /> <div class="rlbDiv"> <telerik:RadListBox Width="100%" ID="rlbAgencies" runat="server" CheckBoxes="true" Skin="" OnClientSelectedIndexChanged="SelectedAgencyChanged" OnClientItemChecked="AgencyChecked" /> </div> </td> <td style="width: 25%; vertical-align: top"> <asp:Label ID="lblModules" CssClass="label" Text="Modules" runat="server" /><br /> <div class="rlbDiv"> <telerik:RadListBox Width="100%" ID="rlbModules" runat="server" CheckBoxes="true" Skin="" OnClientSelectedIndexChanged="SelectedModuleChanged" OnClientItemChecked="ModuleChecked" /> </div> </td> <td style="width: 25%; vertical-align: top"> <asp:Label ID="lblRoles" CssClass="label" Text="Roles" runat="server" /><br /> <div class="rlbDiv"> <telerik:RadListBox Width="100%" ID="rlbRoles" runat="server" CheckBoxes="true" Skin="" OnClientItemChecked="RoleChecked" /> </div> </td> </tr> <tr> <td style="width:25%; vertical-align: top"> <table style="width:100%; vertical-align: top"> <tr> <td> <asp:TextBox ID="txtUserFilter" runat="server" Text="Search..." ForeColor="Gray" onblur="WaterMark(this, event);" onfocus="WaterMark(this, event);" CssClass="rlbTextbox" /> </td> <td style="width:5%"> <asp:ImageButton ID="btnUserSearch" runat="server" AlternateText="Search..." CommandName="UserSearch" CssClass="button" /> </td> </tr> </table> </td> <td style="width:25%; vertical-align: top"> <table style="width:100%; vertical-align: top"> <tr> <td> <asp:TextBox ID="txtAgencyFilter" runat="server" Text="Search..." ForeColor="Gray" onblur="WaterMark(this, event);" onfocus="WaterMark(this, event);" CssClass="rlbTextbox" /> </td> <td style="width:5%"> <asp:ImageButton ID="btnAgencySearch" runat="server" AlternateText="Search..." CommandName="AgencySearch" CssClass="button" /> </td> </tr> </table> </td> <td></td> <td></td> </tr> </table> <table width="100%"> <tr> <%-- <td style="width:50%; vertical-align: top;"> <div align="left"> <asp:Button ID="btnUserDetails" runat="server" Text="User Details" CommandName="Details" CssClass="button" /> </div> </td>--%> <td style="width: 100%; vertical-align: top"> <div align="right"> <asp:Button ID="btnSave" runat="server" Text="Save" CommandName="Save" CssClass="button" /> <asp:Button ID="btnCancel" runat="server" Text="Cancel" CommandName="Cancel" CssClass="button" /> <asp:Button ID="btnDummy" runat="server" CssClass="button" Style="display: none" /> </div> </td> </tr> </table> <div style="position: fixed; top: 0px; left: 0px;"> <ajax:ModalPopupExtender ID="mpeDeleteConfirmMessagePrompt" runat="server" TargetControlID="btnDummy" PopupControlID="pnlDeleteConfirmMessagePrompt" BackgroundCssClass="modalBackground" BehaviorID="mpeDeleteConfirmMessagePrompt" /> <asp:Panel ID="pnlDeleteConfirmMessagePrompt" CssClass="modalPopup" Style="display: none; width: auto" runat="server"> <asp:UpdatePanel ID="pnlDeleteMessagePrompt" runat="server" RenderMode="Inline"> <ContentTemplate> <sims:MessagePrompt ID="ucDeleteConfirmMessagePrompt" MessageText="Are you sure you wish to remove all roles for this user, agency and module?" runat="server" PopupControlID="mpeDeleteConfirmMessagePrompt" ActionText="Yes" ActionCommandName="Yes" CancelText="No" CancelCommandName="No" /> </ContentTemplate> </asp:UpdatePanel> </asp:Panel> <ajax:ModalPopupExtender ID="mpeAgencyDeleteConfirmMessagePrompt" runat="server" TargetControlID="btnDummy" PopupControlID="pnlAgencyDeleteConfirmMessagePrompt" BackgroundCssClass="modalBackground" BehaviorID="mpeAgencyDeleteConfirmMessagePrompt" /> <asp:Panel ID="pnlAgencyDeleteConfirmMessagePrompt" CssClass="modalPopup" Style="display: none; width: auto" runat="server"> <asp:UpdatePanel ID="pnlAgencyDeleteMessagePrompt" runat="server" RenderMode="Inline"> <ContentTemplate> <sims:MessagePrompt ID="ucAgencyDeleteConfirmMessagePrompt" MessageText="Are you sure you wish to remove all permissions for this user and agency?" runat="server" PopupControlID="mpeAgencyDeleteConfirmMessagePrompt" ActionText="Yes" ActionCommandName="Yes" CancelText="No" CancelCommandName="No" /> </ContentTemplate> </asp:UpdatePanel> </asp:Panel> <ajax:ModalPopupExtender ID="mpeUserDeleteConfirmMessagePrompt" runat="server" TargetControlID="btnDummy" PopupControlID="pnlUserDeleteConfirmMessagePrompt" BackgroundCssClass="modalBackground" BehaviorID="mpeUserDeleteConfirmMessagePrompt" /> <asp:Panel ID="pnlUserDeleteConfirmMessagePrompt" CssClass="modalPopup" Style="display: none; width: auto" runat="server"> <asp:UpdatePanel ID="pnlUserDeleteMessagePrompt" runat="server" RenderMode="Inline"> <ContentTemplate> <sims:MessagePrompt ID="ucUserDeleteConfirmMessagePrompt" MessageText="Are you sure you wish to remove all permissions for this user?" runat="server" PopupControlID="mpeUserDeleteConfirmMessagePrompt" ActionText="Yes" ActionCommandName="Yes" CancelText="No" CancelCommandName="No" /> </ContentTemplate> </asp:UpdatePanel> </asp:Panel> </div> </ContentTemplate> </asp:UpdatePanel> </asp:Panel> </div>