Is there any work around for client side data binding in mvc. I’m looking for something like implementing a observable pattern on client side somehow?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at knockout it might provide something like what you are after
From their site
Also
In order to prevent some of the additional work in creating viewmodels if you already have JSON objects being returned to the client you could use the Knockout Mapping plugin:
There are also other frameworks that do similar things like:
If you want to implement it without using a “big” framework maybe take a look at this: