Custom Edit Pop-up doesn't render properly

2 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    5 posts
    Member since:
    Aug 2012

    Posted 16 Apr 2013 Link to this post

    I have a custom edit pop-up.  I'm trying to add a hidden byte array, but it's not working.  They byte array will be dynamic but I can't even get a hard coded version to work properly.

    If I put the following line in the custom edit cshtml file,
    <input id="RowVersion" name="RowVersion" type="hidden" value="AAAAAAAAZZM=">
    The pop-up renders it as:
    <input id="RowVersion" name="RowVersion" type="hidden" value="[object Object]" data-bind="value:RowVersion">
    When I try it in a regular MVC page everything works as expected.  (Also, this is the only part of the model that doesn't render correctly in the custom edit pop-up.)
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 17 Apr 2013 Link to this post

    Hi,

    What is the type of the RowVersion property? How is it serialized to JSON?

    All the best,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top