Click here to Skip to main content
15,881,794 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello world,

I am working on a new project that convert old ASP.NET web form with AjaxPro and YUI 1.0 application to plain Html with jQuery and Web API. However, I want to have an answer about my question since I have no experience with Web API.

In the old web application, we are handling web controls from code behind so if you need to handle a Textbox control then check the option that user already set up and show/hide , give default value, or binding default options. If I remove code behind to remove post back and move the code to web API then there is no way to handle the Textbox unless check the option from Web API via jQuery ajax call. Some screens could have a lot of controls to be handled with the same way and I have to use a lot of Ajax call to control them. Is this a proper approach?

Any ideas will be appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900