unit WebUserControl1;

//Tagprefix="owe" Tagname="WhatsNew" - owe stands for octane web example

interface

uses System.Data, System.Drawing, System.Web, System.Web.UI,
     System.Web.UI.WebControls, System.Web.UI.HtmlControls;
     
type
    /// <summary>
    ///		Summary description for WebUserControl1.
    /// </summary>
  TWebUserControl1 = class(System.Web.UI.UserControl)
  {$REGION 'Designer Managed Code'}
  strict private
    procedure InitializeComponent;
  {$ENDREGION}
  strict private
    procedure Page_Load(sender: System.Object; e: System.EventArgs);
  strict protected
		NovoHolder: System.Web.UI.WebControls.PlaceHolder;
    procedure OnInit(e: System.EventArgs); override;
  end;

implementation


uses products;

procedure TWebUserControl1.Page_Load(sender: System.Object; e: System.EventArgs);
var _Novo : csNovo;
begin
  // Put user code to initialize the page here

      _Novo := csNovo.create;
      NovoHolder.Controls.Add(_Novo);
end;

procedure TWebUserControl1.OnInit(e: System.EventArgs);
begin
  //
  // CODEGEN: This call is required by the ASP.NET Web Form Designer.
  //
  InitializeComponent;
  inherited OnInit(e);

  
end;

{$REGION 'Designer Managed Code'}
///		Required method for Designer support - do not modify
///		the contents of this method with the code editor.
/// </summary>
procedure TWebUserControl1.InitializeComponent;
begin
	Include(Self.Load, Self.Page_Load);
end;
{$ENDREGION}


end.
