call "c:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 msbuild MyModule.sln pause
Showing posts with label dotnetnuke. Show all posts
Showing posts with label dotnetnuke. Show all posts
Friday, March 16, 2012
dnn compile module
here is example of .bat file which compile dnn module from command-line:
Thursday, December 29, 2011
dotnetnuke datepicker
Here is example how to implement datapicker in DotNetNuke:
Step 1.Below os sample of the user control containing txtStartDate textbox and Image txtStartDateImage which is related to this textbox.
When user clicks on Image datepicker popup will appear and when user selects date this date will be entered into txtStartDate and datepicker popup will be closed.
Binding will be done in code-behind class of user control , see step 2 below.
Step2. Binding in code behind, call this function on Page_load of the control or when you showing edit panel.
Don't forget to include instruction described in this post !
Step 1.Below os sample of the user control containing txtStartDate textbox and Image txtStartDateImage which is related to this textbox.
When user clicks on Image datepicker popup will appear and when user selects date this date will be entered into txtStartDate and datepicker popup will be closed.
Binding will be done in code-behind class of user control , see step 2 below.
<tr> <td valign="top" class="SubHead" style="width: 150px"> <dnn:Label ID="plStartDate" runat="server"></dnn:Label> </td> <td> <asp:TextBox ID="txtStartDate" runat="server" Width="74px" CssClass="NormalTextBox" MaxLength="100"></asp:TextBox> <asp:Image ID="txtStartDateImage" runat="server" ImageUrl="~/Images/Calendar.png" /> </td> <td> <asp:RequiredFieldValidator ID="rqdStartDate" runat="server" CssClass="NormalRed" ErrorMessage="<b>StartDate is required </b>" ControlToValidate="txtStartDate" resourcekey="rqdStartDate"></asp:RequiredFieldValidator> <asp:CompareValidator id="txtStartDateCorrectDate" runat="server" Type="Date" Operator="DataTypeCheck" ControlToValidate="txtStartDate" ErrorMessage="Please enter a valid date." resourcekey="txtStartDateCorrectDate" > </asp:CompareValidator> </td> </tr>
Step2. Binding in code behind, call this function on Page_load of the control or when you showing edit panel.
private void Bindpops() { path = DotNetNuke.Common.Utilities.Calendar.InvokePopupCal(txtStartDate); txtStartDateImage.Attributes.Add("OnClick", path); }
Don't forget to include instruction described in this post !
try our new Dotnetnuke Module Generator for fast module creation.
Wednesday, December 28, 2011
An error has occurred. error is currently unavailable
The most common error in DNN ,
to see the real error you have to run this query in dotnetnuke database.
Copy and past contant of LogProperties field to see an error.
And don't forget to select dotnetnuke database if you see Invalid object name 'EventLog'.
dotnetnuke-module-creator fast and effective dotnetnuke module creation.
to see the real error you have to run this query in dotnetnuke database.
select top 1 LogProperties from EventLog order by LogCreateDate Desc
Copy and past contant of LogProperties field to see an error.
And don't forget to select dotnetnuke database if you see Invalid object name 'EventLog'.
dotnetnuke-module-creator fast and effective dotnetnuke module creation.
Wednesday, November 23, 2011
dotnetnuke module creator
Dotnetnuke module creator is an application that makes creation of the dotnetnuke modules easier and faster.
Application generates source code in (VB.net and C# ) of custom dotnetnuke module including:
Creating dotnetmodule Visual studio project.
Application generates source code in (VB.net and C# ) of custom dotnetnuke module including:
- generating stored procedures based on db table for getting/updating/deleting data
- Generating source code for database layer data classes
- generating source code of Database provider for DotnetNuke 6.0
- Generating source code of Module Controller
- producing source code of variaous types of controls (list/edit)
- Making installation files (module descriptor license/release notes ) and creating module package
Creating dotnetmodule Visual studio project.
Subscribe to:
Comments (Atom)