DNN6.0.1 module支持AJAX的操作方法
在Installed module的control的编辑中,找到 Partial Rendering Enabled? 打上钩
发布module时,在dnn文件中加入这句
<dotnetnuke version="3.0" type="Module"> <folders> <folder> <name>Ajax Sample</name> <friendlyname>Ajax Sample</friendlyname> <foldername>Ajax</foldername> <modulename>Ajax Sample</modulename> <description>Sample Ajax Module</description> <version>01.00.00</version> <businesscontrollerclass> </businesscontrollerclass> <modules> <module> <friendlyname>Ajax</friendlyname> <cachetime>0</cachetime> <controls> <control> <title>Ajax Sample</title> <src>DesktopModules/Ajax/View.ascx</src> <type>View</type> <helpurl>http://www.adefwebserver.com/DotNetNukeHELP/Misc/Dotnetnuke_AJAX_modulei.htm</helpurl> <supportspartialrendering>true</supportspartialrendering><!--就是这句--> </control> </controls> </module> </modules> <files> <file> <name>View.ascx</name> </file> <file> <name>View.ascx.vb</name> </file> </files> </folder> </folders> </dotnetnuke>