473,569 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web page shows straight HTML but no asp controls ?!?

I've just started playing around with VS.NET and am working thru a book. I
down loaded all the code from the book. I created a virtual folder and
pointed to chapter 1 which has a simple aspx page with a heading and a few
asp controls below it. When I bring this page up in IE, I see only the
heading, the controls below are not there. I viewed the source of the page
and copied it below. Does this mean IIS is not installed correctly? Or what?

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Vir tualPetForm.asp x.vb"
Inherits="Chapt er01SampleApp.V irtualPetForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Virtua l Pet Example</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</head>
<body>
<form id="Form1" method="post" runat="server">
<p style="FONT-WEIGHT: bold; COLOR: navy; FONT-FAMILY: Verdana,
Tahoma, Arial">Welcome
to the virtual pet selector</p>
<p><asp:label id="ASPLabel" runat="server" Font-Names="Verdana"
Font-Size="10pt">Cho ose your virtual pet, give it a name, then click the
button:</asp:label></p>
<p><asp:radiobu tton id="ASPCatButto n" runat="server" Text="Cat"
GroupName="ASPP et" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:radiobu tton id="ASPFishButt on" runat="server" Text="Fish"
GroupName="ASPP et" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:textb ox id="ASPTextBox "
runat="server"> </asp:textbox><as p:button id="ASPButton" runat="server"
Text="Name my virtual pet!"></asp:button></p>
<p>
<asp:image id="ASPImage" runat="server"
Visible="False" ></asp:image></p>
</form>
</body>
</html>
Nov 22 '05 #1
3 1423
You need to install ASP.Net that comes with .Net framework, you can get
it here
http://www.microsoft.com/downloads/d...displaylang=en

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
mscertified wrote:
I've just started playing around with VS.NET and am working thru a book. I
down loaded all the code from the book. I created a virtual folder and
pointed to chapter 1 which has a simple aspx page with a heading and a few
asp controls below it. When I bring this page up in IE, I see only the
heading, the controls below are not there. I viewed the source of the page
and copied it below. Does this mean IIS is not installed correctly? Or what?

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Vir tualPetForm.asp x.vb"
Inherits="Chapt er01SampleApp.V irtualPetForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Virtua l Pet Example</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</head>
<body>
<form id="Form1" method="post" runat="server">
<p style="FONT-WEIGHT: bold; COLOR: navy; FONT-FAMILY: Verdana,
Tahoma, Arial">Welcome
to the virtual pet selector</p>
<p><asp:label id="ASPLabel" runat="server" Font-Names="Verdana"
Font-Size="10pt">Cho ose your virtual pet, give it a name, then click the
button:</asp:label></p>
<p><asp:radiobu tton id="ASPCatButto n" runat="server" Text="Cat"
GroupName="ASPP et" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:radiobu tton id="ASPFishButt on" runat="server" Text="Fish"
GroupName="ASPP et" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:textb ox id="ASPTextBox "
runat="server"> </asp:textbox><as p:button id="ASPButton" runat="server"
Text="Name my virtual pet!"></asp:button></p>
<p>
<asp:image id="ASPImage" runat="server"
Visible="False" ></asp:image></p>
</form>
</body>
</html>

Nov 22 '05 #2
I can't down load or install anything, that has to be done by our desktop
support group. I have Framework 1.1, VS.NET 2003 and IIS installed (This is
Win 2K OS). How do I tell if ASP.NET is installed? I don't see it under
Start--Programs. Also something is mentioned on the MS site you pointed me to
-- IIS must be installed prior to VS.NET. How can I check if that was done?
- David

"Sijin Joseph" wrote:
You need to install ASP.Net that comes with .Net framework, you can get
it here
http://www.microsoft.com/downloads/d...displaylang=en

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
mscertified wrote:
I've just started playing around with VS.NET and am working thru a book. I
down loaded all the code from the book. I created a virtual folder and
pointed to chapter 1 which has a simple aspx page with a heading and a few
asp controls below it. When I bring this page up in IE, I see only the
heading, the controls below are not there. I viewed the source of the page
and copied it below. Does this mean IIS is not installed correctly? Or what?

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Vir tualPetForm.asp x.vb"
Inherits="Chapt er01SampleApp.V irtualPetForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Virtua l Pet Example</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</head>
<body>
<form id="Form1" method="post" runat="server">
<p style="FONT-WEIGHT: bold; COLOR: navy; FONT-FAMILY: Verdana,
Tahoma, Arial">Welcome
to the virtual pet selector</p>
<p><asp:label id="ASPLabel" runat="server" Font-Names="Verdana"
Font-Size="10pt">Cho ose your virtual pet, give it a name, then click the
button:</asp:label></p>
<p><asp:radiobu tton id="ASPCatButto n" runat="server" Text="Cat"
GroupName="ASPP et" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:radiobu tton id="ASPFishButt on" runat="server" Text="Fish"
GroupName="ASPP et" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:textb ox id="ASPTextBox "
runat="server"> </asp:textbox><as p:button id="ASPButton" runat="server"
Text="Name my virtual pet!"></asp:button></p>
<p>
<asp:image id="ASPImage" runat="server"
Visible="False" ></asp:image></p>
</form>
</body>
</html>

Nov 22 '05 #3
This KB might help
http://support.microsoft.com/default...product=aspnet

also check this article out
http://searchvb.techtarget.com/vsnet...293033,00.html

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

mscertified wrote:
I can't down load or install anything, that has to be done by our desktop
support group. I have Framework 1.1, VS.NET 2003 and IIS installed (This is
Win 2K OS). How do I tell if ASP.NET is installed? I don't see it under
Start--Programs. Also something is mentioned on the MS site you pointed me to
-- IIS must be installed prior to VS.NET. How can I check if that was done?
- David

"Sijin Joseph" wrote:

You need to install ASP.Net that comes with .Net framework, you can get
it here
http://www.microsoft.com/downloads/d...displaylang=en

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
mscertified wrote:
I've just started playing around with VS.NET and am working thru a book. I
down loaded all the code from the book. I created a virtual folder and
pointed to chapter 1 which has a simple aspx page with a heading and a few
asp controls below it. When I bring this page up in IE, I see only the
heading, the controls below are not there. I viewed the source of the page
and copied it below. Does this mean IIS is not installed correctly? Or what?

<%@ Page Language="vb" AutoEventWireup ="false"
Codebehind=" VirtualPetForm. aspx.vb"
Inherits="Ch apter01SampleAp p.VirtualPetFor m" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Virtua l Pet Example</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_tar getSchema">
</head>
<body>
<form id="Form1" method="post" runat="server">
<p style="FONT-WEIGHT: bold; COLOR: navy; FONT-FAMILY: Verdana,
Tahoma, Arial">Welcome
to the virtual pet selector</p>
<p><asp:label id="ASPLabel" runat="server" Font-Names="Verdana"
Font-Size="10pt">Cho ose your virtual pet, give it a name, then click the
button:</asp:label></p>
<p><asp:radiobu tton id="ASPCatButto n" runat="server" Text="Cat"
GroupName="A SPPet" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:radiobu tton id="ASPFishButt on" runat="server" Text="Fish"
GroupName="A SPPet" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton ></p>
<p><asp:textb ox id="ASPTextBox "
runat="serve r"></asp:textbox><as p:button id="ASPButton" runat="server"
Text="Name my virtual pet!"></asp:button></p>
<p>
<asp:image id="ASPImage" runat="server"
Visible="Fal se"></asp:image></p>
</form>
</body>
</html>

Nov 22 '05 #4

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

Similar topics

6
1827
by: anon | last post by:
Post Forwarding question...... For this control below, <asp:Button runat="server" PostTargetUrl="page2.aspx" /> The Attribute: PostTargetUrl="page2.aspx" Is this PostTargetUrl Attribute going to be available in the <a> and Html Controls as well as opposed to just the <asp:Button> control?
3
357
by: mscertified | last post by:
I've just started playing around with VS.NET and am working thru a book. I down loaded all the code from the book. I created a virtual folder and pointed to chapter 1 which has a simple aspx page with a heading and a few asp controls below it. When I bring this page up in IE, I see only the heading, the controls below are not there. I viewed...
11
1971
by: VB Programmer | last post by:
Is there a limit as to how big an aspx page's html can be? (number of characters) Why do I ask? I have a webform with a lot of ActiveX controls (shows up as OBJECT in html). When I place like 35 of these objects the form shows up BLANK in a web browser. When I remove a few (ANY few) I can see the page. Any ideas? Thanks.
4
2795
by: Kevin Phifer | last post by:
Ok, before anyone freaks out, I have a solution I need to create that gathers content from maybe different places. Each one can return a <form> in the html, so its the classic can't have more than one runat=server form on a asp.net page. However, I still want developers to be able to use asp.net controls to create some apps that are created...
6
11274
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header" Src="WebControls/Header.ascx" %> The web user control contains the following server controls
1
2165
by: Tomas | last post by:
Is there any sequence diagram on the web that clearly shows in which order all Page methods (load, render and so on) are being called compared to the order the page's contained control methods are being called by the asp.net enginge ??? To be more specific, the thing I currently am most interested in understanding is from which method in...
5
1582
by: VB Programmer | last post by:
Here's the quick situation: 1. Using VS.NET I create 1 fully functioning aspx page, with code behind. (Simple webform: It has a few text boxes, 1 hyperlink, 2 and buttons.) 2. I uploaded it to my website and it works PERFECTLY. 3. My friend has a webserver and wants me to stick the aspx page into his web server. He says it has IIS and...
3
2011
by: Adam Pedder | last post by:
I'm trying to send an aspx page by email. I am quite happy sending html email from aspx pages but want to know is there is a straight forward way to render a whole page to an email? I have found resources that tell me how to render individual controls, but the page I want to send is quite complicated, and I would rather just render the...
10
5290
by: Sacha Korell | last post by:
I'm trying to load a drop-down list with all DropDownList control names from another page. How would I be able to find those DropDownList controls? The FindControl method will only find a certain control by id, but I want to find all controls of a certain type (DropDownList in this case). Is there an easier way than to get a control count...
2
2309
by: raghulvarma | last post by:
I have a master page like <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> ...
0
7695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6281
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.