Question regarding the ultimate editor and how attachments are added to the component. I am building a web based email system that will use templates for the more common messages that are sent on a daily basis.
chemas-microsoft-com
ffice
ffice" />> >
These templates need to include attachments, it is very easy to use the ultimate editor component to build the template and to grab the details of the attachments included in the template (by using GetAttachmentList() ) however I am having major problems if I wish to load a template and automatically set the editor control to what attachments were previously saved. I was hopeful that there was a SetAttachementLis() method or that it would be simple to call a javascript function on the client side of the editor to update what is being held in session. However I have not been able to do this and it is driving me mad!
> >
I have inspected the UltimateEditor.upload.aspx and located a javascript function that I believe will help curEditorObj.ue2s(dirName, fName, fSize); but I can not get this to call or run on my main webform regardless of how I reference it, have tried EmailEditObj.ue2s(…) (EmailEditObj is the name of the component on the form) UltimateEditors.EmailEdiObj.ue2s(..) etc.
> >
There seems to be very sparse client side documentation and the UltimateEditor.js is a joke to look at, all the code on one line and a nonsensical naming convention.
> >
If anyone has had any ideas on how to do this or even how the attachment details are stored in the session, or even how to reference the editor component from javascript I would welcome the help
> >
Regards
> >
Blake