Description: +ajax asp.netC#+jquery1.4.1 message board procedures
Implementation of C#+ jquery1.4.1+ajax asp.net
The main use of ASPX file request can also be used to deal with Ajax ashx return type is also a lot of
Such as:
XML dataType ,
JSON dataType ,
In fact, can be divided into three kinds
Text: text/plain
XML: application/xml
JSON: application/json .
DataType for response.Write, XML (string) in the string must be in XML format,
For the JSON, response.Write (string) in the string must be consistent with the format of the JSON for the error will occur,
This is the same as the ASPX page.
To use session, add a reference to the System.Web.SessionState code in handler,
And let the handler inherit the IRequiresSessionState interface, be sure to inherit this interface, otherwise it will go wrong.
To Search:
File list (Check if you may need any files):
aspnetcode源码\add.aspx
..............\add.aspx.cs
..............\Admin\EditMessage.aspx
..............\.....\EditMessage.aspx.cs
..............\.....\images\btn_bg.gif
..............\.....\......\style.css
..............\.....\......\tools_bg.gif
..............\.....\Login.aspx
..............\.....\Login.aspx.cs
..............\.....\main.aspx
..............\.....\main.aspx.cs
..............\.....\VerifyCode.aspx
..............\.....\VerifyCode.aspx.cs
..............\.pp_Code\DbHelp.cs
..............\....Data\agebook.mdf
..............\........\agebook_database.sql
..............\........\agebook_log.LDF
..............\css\style.css
..............\Default.aspx
..............\Default.aspx.cs
..............\getCount.aspx
..............\getCount.aspx.cs
..............\index.html
..............\kindeditor\examples\auto-height.html
..............\..........\........\colorpicker.html
..............\..........\........\custom-plugin.html
..............\..........\........\custom-theme.html
..............\..........\........\default.html
..............\..........\........\dialog.html
..............\..........\........\dynamic-load.html
..............\..........\........\file-dialog.html
..............\..........\........\file-manager.html
..............\..........\........\filter-mode.html
..............\..........\........\image-dialog.html
..............\..........\........\index.css
..............\..........\........\index.html
..............\..........\........\jquery-ui\css\smoothness\images\ui-bg_flat_0_aaaaaa_40x100.png
..............\..........\........\.........\...\..........\......\ui-bg_flat_75_ffffff_40x100.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_55_fbf9ee_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_65_ffffff_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_75_dadada_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_75_e6e6e6_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_glass_95_fef1ec_1x400.png
..............\..........\........\.........\...\..........\......\ui-bg_highlight-soft_75_cccccc_1x100.png
..............\..........\........\.........\...\..........\......\ui-icons_222222_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_2e83ff_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_454545_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_888888_256x240.png
..............\..........\........\.........\...\..........\......\ui-icons_cd0a0a_256x240.png
..............\..........\........\.........\...\..........\jquery-ui-1.9.2.custom.css
..............\..........\........\.........\...\..........\jquery-ui-1.9.2.custom.min.css
..............\..........\........\.........\js\jquery-ui-1.9.2.custom.js
..............\..........\........\.........\..\jquery-ui-1.9.2.custom.min.js
..............\..........\........\jquery-ui.html
..............\..........\........\jquery.html
..............\..........\........\jquery.js
..............\..........\........\multi-image-dialog.html
..............\..........\........\multi-language.html
..............\..........\........\newline.html
..............\..........\........\node.html
..............\..........\........\paste-type.html
..............\..........\........\qqstyle.html
..............\..........\........\readonly.html
..............\..........\........\simple.html
..............\..........\........\uploadbutton.html
..............\..........\........\url-type.html
..............\..........\........\word-count.html
..............\..........\kindeditor-all-min.js
..............\..........\kindeditor-all.js
..............\..........\kindeditor-min.js
..............\..........\kindeditor.js
..............\..........\lang\ar.js
..............\..........\....\en.js
..............\..........\....\ko.js
..............\..........\....\zh_CN.js
..............\.