This is a migrated thread and some comments may be shown as answers.

Custom Edit Pop-up doesn't render properly

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 16 Apr 2013, 09:28 PM
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.)

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 17 Apr 2013, 08:50 AM
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!
Tags
Grid
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or