Radeditor not contains definition

2 posts, 0 answers
  1. ashishpandey21jan
    ashishpandey21jan avatar
    9 posts
    Member since:
    Sep 2014

    Posted 26 Oct 2015 Link to this post

    We are using telerik old version which was using dll of rad controls.Now we are upgrading these controls to latest version of telerik and getting more code issue which was not working .

    My following code is not working , So please let us know How we can fixed this issue.​

    'Telerik.Web.UI.RadEditor' does not contain a definition for 'ConvertToLower' and  'FileEncoding' .

    Telerik.Web.UI.RadEditor rd = new Telerik.Web.UI.RadEditor();
            rd.ConvertToLower = true;                                                                  ----------error
            rd.FileEncoding = 65001; //UTF8                                                       --------error
            rd.Html = sMessage;
            sMessage = rd.Text;​

  2. Marin Bratanov
    Marin Bratanov avatar
    3564 posts

    Posted 26 Oct 2015 Link to this post


    These properties do not exist in the current version.

    RadEditor works with HTML strings, not entire files, so FileEncoding does not make sense in its context.

    As for converting to lowercase - such a feature would be ambiguous and can break user content, so it does not exist. If you need that, you can implement a custom content filter or use string manipulations on the server (e.g., regex).


    Marin Bratanov
    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top