Snippets

Custom Modules

DotNetNuke Custom Modules

NO Image:
24
protected override void OnInit(EventArgs e) { base.OnInit(e); JavaScript.RequestRegistration(CommonJs....

[Read the rest of this article...]

17
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals....

[Read the rest of this article...]

16
UserInfo u = new UserInfo(); u = UserController.GetUserById(PortalId, DnnUserId);            ...

[Read the rest of this article...]

Posted in: DNN, Custom Modules
08
<asp:Button ID="Button1" runat="server" Text="Delete All Users" onclick="Button1_Click" /> using DotNetNuke.Entities.Users; protected void Bu...

[Read the rest of this article...]

17
Bind values from a custom table to a CheckBoxList bound from a DNN list public void UpdateTrueFalseQuestions() { try ...

[Read the rest of this article...]

21
Your SQL stored procedure: INSERT INTO Invoices (InvoiceNumber, InvoiceDate, SupplierID, ModuleID, CreatedOnDate, CreatedByUserID, PortalID) VALUES...

[Read the rest of this article...]

14
string htmlHeaderTags = null; LiteralControl htmlHeaderCtrl = new LiteralControl(); htmlHeaderTags = "<base target=\"_self\">"; htmlHeaderCtr...

[Read the rest of this article...]

06
Converting a textbox money field value ($1,250.00) to a double value . . . double MyDoubleValue = double.Parse(txtMoneyAmount.Text, NumberStyles.Cur...

[Read the rest of this article...]

double.Parse, money
02
DNN Token Replacement Engine usage. Token Replacement Example
19
Check to verify if an e-mail address has been previously registered: public bool LookupEmail(string EmailAddress) {  try  {   ...

[Read the rest of this article...]

DNN User Account
Page 4 of 5First   Previous   1  2  3  [4]  5  Next   Last   

  120 OLD FREEMANS WAY, BREWSTER, MA 02631
  P. O. BOX 2342, BREWSTER, MA 02631
  (774) 323-3176
  CONTACT US