DNN individual modules to develop. NET 2.0 to. NET 3.5 problems

Source: Internet
Author: User
Tags dnn dotnetnuke

As I said in Http://space.cnblogs.com/group/topic/7777/'s post:
I used this development DNN module vs2008 template, developed a module, the default. NET 2.0, can be used normally.

http://www.bitethebullet.co.uk/Portals/0/projects/DNN_Csharp_starterKit/downloads/VS2008/1_0_0/ Vs2008csharpcompileddnnmodule.zip

I'm going to use Ajax. When you switch it to. NET 3.5, the compilation passes. However, this module cannot be displayed on the DNN page. I am a stand-alone module, not compiled with DNN whole station.


Thank you very much for John (186420) for your helpful help here. Thank you

Only need to use VS2008 to open the DNN site, when open, will be prompted whether to upgrade to. NET 3.5, of course, choose to upgrade. If you are not prompted, you can also switch to. NET 3.5 by selecting the site properties after you open the DNN site with vs2008.

After the upgrade, do not need to compile, save the exit on the line.

Then, remove the web.config from this directory of the DNN module. Everything OK.

Other than that:

You need to add DotNetNuke.Framework.AJAX.RegisterScriptManager () in the pageload of the code behide codes file.

Thanks again.

John (186420) 17:37:46
Well, in a simple application, go to module defination. To modify the control property check apply Ajax This effect and you give the whole module plus UpdatePanel is the same when you do not have to register manually
John (186420) 17:38:22
Look DotNetNuke blog inside all have

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.