The logic behind the inline-edit AJAX script that this
article will discuss is based on a native AJAX script.
The author of that script used native AJAX to enable
inline-edit on a web form. In this article we will convert that script into an AJAX 1.0 script where you place a reference to it inside the Script References section of
the ScriptManager.
The basic idea behind the inline-edit control is that a span
HTML control is placed on the Web form with a special class name. The
inline-edit script will parse the page and get all spans with a specific class
name and add to them onclick event. So when clicked, the content of the clicked
span will be shown either in a Textbox or TextArea depending on the size of
text to be edited.