::::
::English :: Dúnadan Blog
Module Border Module Border
  Categories   Minimize

Module Border Module Border
Module Border Module Border
  Renata's Pics   Minimize

Module Border Module Border
Module Border Module Border
  Dunadan's Blog   Minimize

Author: Dunadan Raptor Created: 12/21/2006
You will find here Tips, Tricks, and general annotations on my software development experiences with ASP.NET and Dotnetnuke.

By Dunadan Raptor on 10/18/2007

After releasing a module, sometimes a reorganization of files is performed in the development environment. Regardless of the method used to place the files in the corect locations, some locations will still contain the original files.

For some time DNN has been able to perform a clean up (deletion) of files. This is achieved by including a text file in the PA with the version number in the  ##.##.##.txt format and it should list the paths and filenames that should be deleted.

For example to delete the MyFile.ascx file, just include its name in the .txt file. If the file is within a directory like /DesktopModules/MyModule/MySubDirectory/MyFile.ascx, remove the DesktopModules/MyModule path to obtain only a path relative to the module folder: MySubDirectory/MyFile.ascx.

By Dunadan Raptor on 10/18/2007

 

After enabling AJAX, it's pretty easy to declaratively add an animated image using the UpdateProgress control from the Toolkit controls and an animated gif image. This post assumes you already know how to enable AJAX in your module, if not refere to this previous post.

After enabling AJAX in DNN in any of the two ways detailed in the mentioned post, add an Update panel with a Label and a button control.

<asp:UpdatePanel ID="UpdatePanel1" runat="server"> Read More »

By Dunadan Raptor on 10/18/2007

I faced this error while updating a module I had recently moved from a DNN3 environment to a DNN4 WAP one. I received all sorts of advice including this post filled bits and pieces but nothing was a solution. After a few frustrating hours I decided to go back to basics and review what I had done to move the module. The module was working OK in my development but not in my test install.

After going through the web.config file, project configuration, dll naming setup, namespaces, references and everything inside the DNN VS Solution it was clear I was looking in the wrong place. Fianlly, I opened the nAnt build file and there it was. I had been compiling against a different dotnetnuke.dll. I was pointing to the wrong virtual directory, a previous DNN version install. The compiler never complained and I could get my module dlls. The module raised the error only at run-time in the test site. I just pointed the reference to the correct site and I was in the game again.

I hope this helps someone else not to lose so many hours with something so obvious.

By Dunadan Raptor on 10/18/2007

It's incredibly easy to use AJAX in the DNN 4.5.X versions. In this post I describe the two ways in which you may use AJAX in a DNN module.

Use Control Definitions
Assuming AJAX is already installed in the web server that runs DNN, a module will be dynamically wrapped in an Update Module by doing one of two things:

1) Adding the line below to the control node of a control in the .dnn manifest:

<supportspartialrendering>truesupportspartialrendering>

 2) Select de checkbox for Supports Partial Rendering in the control definition for the control that will use AJAX. Control definitions are reached after selecting a control to edit in a specific Module Definition in Host>Module Definitions>.

Read More »

By Dunadan Raptor on 7/10/2007

Dave M Bush published recently a tutorial that is kind of an hybrid between having a PA and using the Codebeside model from dynamic compilation. It's interesting to see the use of the MSBuild tool and compare it to the way it is used to build the PA. I have been using nAnt to build and create my PAs (Both source and install) reusing build files from the core modules. I have not used Bush's method but I will study it to see if something can come up for an improved development environment.ç

The article can be found here: http://www.dmbcllc.com/Articles/WebDevelopment/DotNetNukePAwASPNET20/tabid/260/Default.aspx

By Dunadan Raptor on 4/27/2007

I will start merging content from this Blog and the dnnla site in the next months. I am still trying to figure out what the structure should be, stay tuned...

Module Border Module Border