createTextRange is not working if I delete and re-enter the text in editor

2 posts, 0 answers
  1. Balaji
    Balaji avatar
    15 posts
    Member since:
    May 2012

    Posted 10 May 2012 Link to this post

    Hi,

      I entered the text and the below code is working to get the range
        editor.getSelectedElement().createTextRange()
     If I delete the text in editor and enter some other text and the above code throw the error as below,
       Object doesn't support this property or method  

    Please let me know why this error throwing at next time. Do we need to refresh the editor or something, if yes how to do?
  2. Rumen
    Admin
    Rumen avatar
    14421 posts

    Posted 14 May 2012 Link to this post

    Hi,

    Could you please provide your code or if needed a simple project, sample content and steps to reproduce the problem?

    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top