What are the ways in which message transmission is used in our AJAX applications? Plain text, text with HTML, XML, JSON? And also??? In many cases, pure text message transmission is sufficient. For example, to transfer a user name, user password, or user contact method (phone,email,msn), is usually transmitted as text. such as complex point of data information, tables, objects or is??? So that we can use XML or JSON to format the data and then transmit it.
There is such an AJAX application, providing a series of tag connections, allowing users to choose any, the browser to send requests to the server query to get the desired data information. The following is a discussion of message transfer in this application.
One, ordinary text message transmission
Build a asp.net Ajax application, first for the ajaxmessagetext.aspx page to do a simple layout preparation, we use the hyperlink control as a navigation connection, placed in a table, and set a cell as the data display area, set it as a server Control to run (runat= "Server"), as shown in the following illustration: