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.
Sean
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.
Sean