473,378 Members | 1,489 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

controls not appearing

I have created a form in vb.net that generates the follwoing code, but
only the three labels appear and they are all in the upper left corner
rather than scattered over the form...

Can anyone give me a clue to get by buttons and boxes displayed?

Thanks,
HankC

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="vanity.aspx.vb" Inherits="vanity.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Customized E-mail Addresses - University </title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:button id="Button1" style="Z-INDEX: 101; LEFT: 125px;
POSITION: absolute; TOP: 48px" runat="server" Height="25px"
Width="200px" Text="Button"></asp:button>
<asp:button id="Button2" style="Z-INDEX: 102; LEFT: 123px;
POSITION: absolute; TOP: 274px" runat="server" Height="25px"
Width="200px" Text="Button"></asp:button>
<asp:label id="Label1" style="Z-INDEX: 103; LEFT: 103px; POSITION:
absolute; TOP: 11px" runat="server" Height="25px" Width="220px" Font-
Underline="True" Font-Bold="True">Label1</asp:label>
<asp:textbox id="TextBox1" style="Z-INDEX: 104; LEFT: 467px;
POSITION: absolute; TOP: 121px" runat="server" Height="301px"
Width="339px" TextMode="MultiLine" ReadOnly="True"></asp:textbox>
<asp:button id="Button3" style="Z-INDEX: 105; LEFT: 545px;
POSITION: absolute; TOP: 75px" runat="server" Height="25px"
Width="151px" Text="Button"></asp:button>
<asp:label id="Label2" style="Z-INDEX: 106; LEFT: 98px; POSITION:
absolute; TOP: 307px" runat="server" Height="40px" Width="361px" Font-
Bold="True">Label2</asp:label>
<asp:label id="Label3" style="Z-INDEX: 107; LEFT: 9px; POSITION:
absolute; TOP: 416px" runat="server" Height="13px" Width="137px" Font-
Names="Vrinda">Label3</asp:label>
<asp:button id="Button4" style="Z-INDEX: 108; LEFT: 119px;
POSITION: absolute; TOP: 360px" runat="server" Height="25px"
Width="80px" Text="OK"></asp:button>
<asp:button id="Button5" style="Z-INDEX: 109; LEFT: 226px;
POSITION: absolute; TOP: 361px" runat="server" Height="25px"
Width="80px" Text="Cancel"></asp:button>
<asp:listbox id="ListBox1" style="Z-INDEX: 110; LEFT: 128px;
POSITION: absolute; TOP: 84px" runat="server" Height="185px"
Width="195px"></asp:listbox>
</form>
</body>
</HTML>

Jun 11 '07 #1
0 884

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: kvrdev1 | last post by:
On one page of my web application, some of the text boxes/combo boxes are appearing with a Yellow background. Within ASP.NET, I've deleted them and put new controls on the screen, and it then...
5
by: Damian H | last post by:
I have an form that I want to reorganise by putting some of the existing controls onto a new tab control (using Access 2K) When I drag a control onto a specific page of the new tab control,...
1
by: Greg | last post by:
I have a custom control called PageBanner which is compiled into a DLL and then put into the toolbox. It shows like I would expect it to in the toolbox, and I can drag and drop it onto a form. ...
0
by: Frnak McKenney | last post by:
I'm running into problems with VisualStudio.NET2003 and Windows Forms inheritance. It _feels_ like a bug, but it could just as well be a misunderstanding on my part regarding how the VS Designer...
3
by: Rob Meade | last post by:
Hi all, I have created 7 web custom controls for 7 sections of our template. I have them currently on my local pc - where vs placed them...the plan was that I would create these - throw them...
22
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said...
3
by: Blue Streak | last post by:
SFX: Banging head against wall... *Thud! Thud! Thud!* Hello, folks. I am trying to get a web application to work on a Windows Server 2003 (standard edition) Intranet server. It uses...
2
by: ddman | last post by:
I opened my VB.NET project and all of a sudden, all of the controls on the form were gone. I tried running it and the form opens normally with all the controls and stuff showing up like they...
10
by: Neil | last post by:
Using the MS Rich Textbox Control 6.0 in Access 2000, I need to concatenate several RTB controls into a single RTF file. Sometimes two strings will be side-by-side; other times they need to be...
2
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have the following code the dynamically adds a specific number of controls. for x as integer = 1 to 10 Dim btn as Windows.Forms.Button = New Windows.Forms.Button btn.Name = "btn" & x btn.Text...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.