Kai
Sorry for Long time, I am studing the new Module Programming in DNN 5.0, and using all new feature, with TokenReplace, IHydratable and more
This is the basic Module Code
/* This file for casasoft.helloword.ascx.pas */
namespace CasaSoft.ImoveisOnLine;
interface
uses
System,
System.Web.UI,
System.Web.UI.WebControls,
System.Web.UI.HtmlControls,
DotNetNuke.Entities.Modules
;
type
HelloWord = public partial class(PortalModuleBase)
protected
method Page_Load(sender : Object; e: EventArgs);
private
end;
implementation
method SeletorImoveis.Page_Load(sender: Object; e: EventArgs);
begin
lblMensagem.Text := 'HELLO WORLD';
end;
end.
/* This File for casasoft.helloword.ascx */
<%@ Control Language="Oxygene" AutoEventWireup="true" CodeBehind="SeletorImoveis.ascx.pas" Inherits="CasaSoft.ImoveisOnLine.HelloWord" %>
<asp:Label ID="lblMensagem" runat="server" Text="Label"></asp:Label>
/* This File for casasoft.helloword.ascx.designer.pas
//------------------------------------------------------------------------------
// <autogenerated>
// This Oxygene source code was generated by a tool.
// Oxygene Version: 3.0.17.591
// Runtime Version: 2.0.50727.3082
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
{$HIDE CW3}
{$HIDE PW12}
namespace CasaSoft.ImoveisOnLine;
interface
type
HelloWord = public partial class
protected
var lblMensagem: System.Web.UI.WebControls.Label;
end;
implementation
end.