Unable to serialize an Observable?

1 posts, 0 answers
  1. Sean
    Sean avatar
    7 posts
    Member since:
    Apr 2012

    Posted 25 Apr 2012 Link to this post

    Hello All,
    I'm trying to post some simple form data to the server by serializing my model data using JQuerys .param method.  When I call .param using the modal data from a my viewModel (kendo.observable), an error is thrown from the kendo library indicating "this.shouldSerialize is not a function".  After investigating a little further, I seems that the "this" reference is not pointing to the correct context (window instead of the viewModal).  I put together a simplified JSFiddle to demonstrate the problem.  Is this a bug with Kendo?  Does the observable object provide a way to "serialize" itself?  Thanks in advance for any feedback.

Back to Top