Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Link to Uploaded File
posted

Hi

I am working with Infragistics Webhtmleditor v11.2 and using File upload button to upload files. After uplaoding the file(with Upload mode set to 'File'), the editor tries to embed the contents of file in text area whereas I want to provide the link of file to the user instead. There is a way suggested to do that in the following post but that is not appropriate for me.

http://forums.labs.infragistics.com/readmessage?id=%3C16c49fd5$428e8bfe$10d95@news.infragistics.com%3E&group=infragistics.products.netadvantage.aspnet.webhtmleditor

So, I tried to develop the solution by using Upload mode set to 'Upload' only and then in 'after action' of event, I am trying to insert link to the file with <a> tag. The problem is I dont have the name of the file that was uploaded. I got some help from the following post to modify the javascript files to get the file name somehow.

http://forums.infragistics.com/forums/t/44797.aspx 

But, when I point javascriptdirectory of my editor to the script folder as suggested in above post, my htmleditor stops working. It becomes kind of read only editor, after clicking any toolbar button I get javascript errors like iged_inti undefined, iged_act undefined etc.

Any help would be appreciated.