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>