iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
hi,here i have one strange problem. i am initializing the webtexteditor with the following code
hi,
here i have one strange problem. i am initializing the webtexteditor with the following code
WebTextEditor1.LoadContentFromFile(Server.MapPath((@"~//newsletter/" + userfolder + "/" + filepath + "/newsletter.html")), true);
here the texteditor displays the html files in it, but without images. Because all images are inside the "image" folder which is in the smae path as "newsletter.html" file.
The aspx file which uses the webtexteditor control is in root directory of project.
is there any way to set its relative path while using LoadContentFromFile method.
I hope you undertand the problem.
Please let me know, if the doubt is still unclear to you.
thanks and regards
ca
Unfortunately, LoadContentFromFile emthod will not be able to modify the image path.
One suggestion for such scenario, would be to modify the image path programatically, most likely using regular expression, and assign the modified file content to the WebTextEditor using RootTextEditor.Content property.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname