Hi,
We are using the telerik
version 2015.3.930.45.
We are facing issue with
Save and Export.
RadImageEditor Code in
HTML
<telerik:RadImageEditor ID="testImageViewer" runat="server" ImageUrl="https://xxxxxx-xxxxxx.us/EDMTempfiles/10068_Image/nature2.jpg" EnableResize="true" EnableViewState="true" ToolsFile="~/Config/RadImageEditor.xml" >
1. When we click on Save button on tool, select “Downlaod Image” from “Save Dialog” and click “Ok” button then only .png file is downloading but we set .jpg image in the ImageUrl property and expecting .jpg file in download.
2. When we click on “Export” button in tool, we are getting the below error
Message : ="https://xxxxxx-xxxxxx.us/EDMTempfiles/10068_Image/nature2.jpg ' is not a valid
virtual path.
Source : System.Web
Help link :
WebEventCode : 0
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Void CheckValidVirtualPath(System.String)
HResult : -2147467259
Stack Trace : at System.Web.Util.UrlPath.CheckValidVirtualPath(String
path)
at
System.Web.Util.UrlPath.Combine(String appPath, String basepath, String
relative)
at
System.Web.VirtualPath.Combine(VirtualPath relativePath)
at
System.Web.UI.Control.ResolvePhysicalOrVirtualPath(String path,
VirtualPath& virtualPath, String& physicalPath)
at
System.Web.UI.Control.MapPathSecure(String virtualPath)
at
Telerik.Web.UI.RadImageEditor.TryGetEditableImageFromSource(Boolean
alwaysCreateEditableImage)
at Telerik.Web.UI.ImageEditor.Export.GetImageExtension()
at
Telerik.Web.UI.ImageEditor.Export.SetChildrensProperties()
at
System.Web.UI.Control.EnsureChildControls()
at
System.Web.UI.Control.InitRecursive(Control namingContainer)
at
System.Web.UI.Control.AddedControl(Control control, Int32 index)
at
Telerik.Web.UI.RadImageEditor.LoadDialog(String dialogName)
at
Telerik.Web.UI.RadImageEditor.LoadTool(Object sender, EventArgs e)
at
System.EventHandler.Invoke(Object sender, EventArgs e)
at
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint)
Please let me know if I
am doing something wrong with imageEditor properties.