I've been looking around the documentation and I'm trying to find if there exists any methods which return the HTML document size for the contents of the WYSIWYG editor, which also takes into account image sizes etc.
ie: HTML content including images is 317Kb
thanks
1 Answer, 1 is accepted
0
Dobromir
Telerik team
answered on 04 May 2010, 11:14 AM
Hi Brian,
RadEditor does not offer such functionality out-of-the-box and I believe there is no convenient way such feature to be implemented (it is impossible to be done client side due to restrictions to the JavaScript).
A possible approach for such implementation is:
Save the content of RadEditor in an external file (or in an DataBase) and check the size in bytes of this file (field).
Parse the saved content and examine the linked images using a file handler to check their size.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.