AJAX brought a lot of new ideas to develop rich web
applications. Many techniques that we used to dream of before the days of AJAX can now be easily implemented!
One of the nice features that developers can provide for a
Web application is the ability to allow Administrators or Editors on the
website to edit pages with static text on the spot without having to generate a
new Web form just for editing those static pages.
Suppose for example you would like to post your CV on a web
page, that CV rarely changes, so instead of having to store it in a database
you can simply place your CV as plain HTML and let it be editable on-the-spot.
This way, when you for example attend a new training at your work and want to
add that to you CV, you simply click on your online CV. It will be converted
into an editable area, you add or remove any part of your CV and that is it!
Your CV is now updated with no database access or extra effort with dynamic
form!
This article shall explain how to enable editable areas on a
WebForm with a single line of HTML code.
This article requires that readers are familiar with
creating AJAX classes. If you feel you need more on this topic, it is
recommended that you check the following article: