.Encode(false) and ViewHtml() triggers change event

5 posts, 2 answers
  1. Answer
    Stéphan Parrot
    Stéphan Parrot avatar
    70 posts
    Member since:
    Apr 2010

    Posted 27 Aug 2013 Link to this post

    Hello folks,
         If I set up an editor and set .Encode() to false OR specify .ViewHtml(), as soon as I click in the editor or show the Html by pressing the View Html button, the change event is fired which isn't really true from a user perspective.
    Is there a way to prevent that behavior OR is there a way to know it's the encoding (or any other internal mechanism of the component) that fires the change so I can handle it properly?
    What I want to achieve is, when the editor changes, I want to set a page dirty flag so I can notify the user something changed and wasn't saved in the editor.

    Regards,

    Stephan
  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 29 Aug 2013 Link to this post

    Hello Stephan,

    Thank you for bringing the issue to our attention. The problem is now fixed and changes will take effect in the next internal and official builds.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Stéphan Parrot
    Stéphan Parrot avatar
    70 posts
    Member since:
    Apr 2010

    Posted 29 Aug 2013 Link to this post

    That was quick! :)

    Which should I get?
    kendoui.aspnetmvc.2013.2.823.commercial 
    OR
    kendoui.aspnetmvc.hotfix.2013.2.823.commercial ?

    Thanks!
  5. Answer
    Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 29 Aug 2013 Link to this post

    Hi Stephan,

    Build 2013.2.823 is from August 23. The discussed fix has been implemented on August 29. We usually upload a new internal build once a week.

    The difference between the two builds that you have mentioned is that "hotfix" does not include demos.

    On a side note, please do not post duplicate support tickets or forum threads, because this may lead to several people working on the same issue.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Stéphan Parrot
    Stéphan Parrot avatar
    70 posts
    Member since:
    Apr 2010

    Posted 29 Aug 2013 Link to this post

    Yes I've realized this afterwards that I should have posted only a bug and not a forum post.
    Sorry about that! 
    Thanks for the infos! I'll watch for the release of the next internal build!
Back to Top
UI for ASP.NET MVC is VS 2017 Ready