Posts

Showing posts with the label KnockoutJS

onEnter Event binder for knockoutJs

It is generally required to trigger an event when user press enter in the text box. Well this is very much simpler as, bind keydown event of jquery and check for keycode 13 that is if enter is pressed. But this is not valid in big application as it is generally required to build some framework or generic method / custom event to track the same along with other functionality. so here we are building a binding handler for the same to segregate common events as

Working with DropDownList with MVC and KnockoutJs to limit the data posted on the server efficient way

Image
Working with Knockoutjs and MVC makes our life easy, but still there are some points that require some special attention. And one of these points is How much data is posted back to the server when we make a async call? Well it is obviously not required for very small application that target very limited users that are using very high connectivity with the server. but most of the application are not like that. In general we have to take care of such things to make our application more reliable and scalable. Quick reference to the issue i have observed in many applications.