I do not have the buttons doing any thing yet so there is little on the
testaspx.vb form
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="TestAspx.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="
http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 200px; POSITION:
absolute; TOP: 64px" runat="server"
Width="320px" Height="104px" ForeColor="Red">Hello</asp:Label>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 192px; POSITION:
absolute; TOP: 184px" runat="server"
Width="296px" Height="48px" Text="Button 1"></asp:Button>
<asp:Label id="Label2" style="Z-INDEX: 103; LEFT: 184px; POSITION:
absolute; TOP: 288px" runat="server"
Height="88px" Width="352px">Label</asp:Label>
<asp:Button id="Button2" style="Z-INDEX: 104; LEFT: 232px; POSITION:
absolute; TOP: 400px" runat="server"
Height="56px" Width="280px" Text="Button"></asp:Button>
<asp:TextBox id="TextBox1" style="Z-INDEX: 105; LEFT: 240px;
POSITION: absolute; TOP: 480px"
runat="server" Height="40px" Width="304px"></asp:TextBox>
</form>
</body>
</HTML>
Public Class WebForm1
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
End Sub
Protected WithEvents Label1 As System.Web.UI.WebControls.Label
Protected WithEvents Button1 As System.Web.UI.WebControls.Button
Protected WithEvents Label2 As System.Web.UI.WebControls.Label
Protected WithEvents Button2 As System.Web.UI.WebControls.Button
Protected WithEvents TextBox1 As System.Web.UI.WebControls.TextBox
'NOTE: The following placeholder declaration is required by the Web
Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
End Class