473,399 Members | 3,888 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,399 software developers and data experts.

Can't see ASP control

Hi,
Just to play with asp.net, I've created a web project and a simple aspx web
form that contains aweb controls and html controls
When I open it in the browser, I see the html controls only, can't see any
web control.
Here is the page code.
thanks for any help
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"
Inherits="webproj.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</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">
&nbsp;
<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 158px; POSITION:
absolute; TOP: 61px" runat="server"></asp:TextBox>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 220px; POSITION:
absolute; TOP: 154px" runat="server" Text="Button"
BackColor="Red"></asp:Button>
<asp:TextBox id="TextBox2" style="Z-INDEX: 103; LEFT: 155px; POSITION:
absolute; TOP: 105px" runat="server" Width="171px"
Height="40px"></asp:TextBox>
<input type="button" style="Z-INDEX: 104; LEFT: 260px; POSITION:
absolute; TOP: 344px"></form>
</body>
</HTML>
Mar 4 '06 #1
3 1243
This works for me. Just tried it. I see two buttons and two text boxes

--
Terry Burns
http://TrainingOn.net

"Toufik" <to****@hotmail.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
Hi,
Just to play with asp.net, I've created a web project and a simple aspx
web
form that contains aweb controls and html controls
When I open it in the browser, I see the html controls only, can't see any
web control.
Here is the page code.
thanks for any help
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"
Inherits="webproj.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</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">
&nbsp;
<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 158px; POSITION:
absolute; TOP: 61px" runat="server"></asp:TextBox>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 220px; POSITION:
absolute; TOP: 154px" runat="server" Text="Button"
BackColor="Red"></asp:Button>
<asp:TextBox id="TextBox2" style="Z-INDEX: 103; LEFT: 155px; POSITION:
absolute; TOP: 105px" runat="server" Width="171px"
Height="40px"></asp:TextBox>
<input type="button" style="Z-INDEX: 104; LEFT: 260px; POSITION:
absolute; TOP: 344px"></form>
</body>
</HTML>

Mar 4 '06 #2
So, what can be the reason for me??

"Terry Burns" <me@mine.com> wrote in message
news:#M**************@TK2MSFTNGP11.phx.gbl...
This works for me. Just tried it. I see two buttons and two text boxes

--
Terry Burns
http://TrainingOn.net

"Toufik" <to****@hotmail.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
Hi,
Just to play with asp.net, I've created a web project and a simple aspx
web
form that contains aweb controls and html controls
When I open it in the browser, I see the html controls only, can't see any web control.
Here is the page code.
thanks for any help
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb"
Inherits="webproj.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</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">
&nbsp;
<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 158px; POSITION:
absolute; TOP: 61px" runat="server"></asp:TextBox>
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 220px; POSITION:
absolute; TOP: 154px" runat="server" Text="Button"
BackColor="Red"></asp:Button>
<asp:TextBox id="TextBox2" style="Z-INDEX: 103; LEFT: 155px; POSITION:
absolute; TOP: 105px" runat="server" Width="171px"
Height="40px"></asp:TextBox>
<input type="button" style="Z-INDEX: 104; LEFT: 260px; POSITION:
absolute; TOP: 344px"></form>
</body>
</HTML>


Mar 5 '06 #3
I can only think you dont have the code behind for some reason

--
Terry Burns
http://TrainingOn.net
"Toufik" <to****@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
So, what can be the reason for me??

"Terry Burns" <me@mine.com> wrote in message
news:#M**************@TK2MSFTNGP11.phx.gbl...
This works for me. Just tried it. I see two buttons and two text boxes

--
Terry Burns
http://TrainingOn.net

"Toufik" <to****@hotmail.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl...
> Hi,
> Just to play with asp.net, I've created a web project and a simple aspx
> web
> form that contains aweb controls and html controls
> When I open it in the browser, I see the html controls only, can't see any > web control.
> Here is the page code.
> thanks for any help
>
>
> <%@ Page Language="vb" AutoEventWireup="false"
> Codebehind="WebForm1.aspx.vb"
> Inherits="webproj.WebForm1"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <title>WebForm1</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">
> &nbsp;
> <asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 158px;
> POSITION:
> absolute; TOP: 61px" runat="server"></asp:TextBox>
> <asp:Button id="Button1" style="Z-INDEX: 102; LEFT: 220px; POSITION:
> absolute; TOP: 154px" runat="server" Text="Button"
> BackColor="Red"></asp:Button>
> <asp:TextBox id="TextBox2" style="Z-INDEX: 103; LEFT: 155px;
> POSITION:
> absolute; TOP: 105px" runat="server" Width="171px"
> Height="40px"></asp:TextBox>
> <input type="button" style="Z-INDEX: 104; LEFT: 260px; POSITION:
> absolute; TOP: 344px"></form>
> </body>
> </HTML>
>
>



Mar 5 '06 #4

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

Similar topics

3
by: Sushil Srivastava | last post by:
Hi Guys, Would you be able to help me using C# GUI (with user interface component) in my MFC application. I have used managed extension, COM-interops, etc but problem is this C# component has...
4
by: DotNetJunkies User | last post by:
I have created a User Control (a Pareto Chart) using C#. It works great in .Net Windows Apps, but I also need to use it in a Web Application (to view in IE). Everything I read on this seems to be...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
5
by: The Colonel | last post by:
I'm only getting current page. I've tried playing with the PageSize and AllowPaging = False before exporting, but no luck. Here's my code: <snip> Public Sub btnExport_OnClick(ByVal sender...
5
by: Just Me | last post by:
Given a button name Btn_5 and Index=5 I want to do something like dim zz as string = Btn_??Index??.Text or given an array of buttons, do:
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
4
by: gsb58 | last post by:
Hi! On a form I have a calendar. The form is rezised to 1024x768 (Don't worry - this is a training case) when loaded. Now I want to center the calendar on the form so that its edges are...
1
by: Owen Blacker | last post by:
I've spent loads of time Googling to try to work this one out and I'm sure it's something obvious. I get an InvalidOperationException reading "Databinding methods such as Eval(), XPath(), and...
6
by: kberry | last post by:
I am clearing Textboxes on a form... this is loop I have came up with but was wondering if it can be shorter or not as long... Can anyone help? Dim controlOnForm As Control 'Places a control...
10
by: Benton | last post by:
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.