Friday, March 16, 2012

dnn compile module

here is example of .bat file which compile dnn module from command-line:
call "c:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
msbuild       MyModule.sln
pause

Thursday, March 15, 2012

PopupCalendar.js

to add datapicker to text field like desribed in this post
it's required to add reference to PopupCalendar.js
    
protected void Page_Load(object sender, EventArgs e)
{


Page.ClientScript.RegisterClientScriptInclude("PopupCalendar",
ResolveUrl(
"~/js/PopupCalendar.js"));
}


Dotnetnuke Module Creator best tool for generation dotnetnuke module.