473,698 Members | 2,588 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 1426
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
1838
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 the source of the page and copied it below. Does this mean IIS is not installed correctly? Or what?...
11
1979
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
2801
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 on the page. So I need multiple forms on a asp.net page(doesn't everyone). I purchased the...
6
11284
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
2168
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 the Page class you can know that that the Render method of all aggregated controls have been called...
5
1587
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 the .NET framework. 4. I copy the aspx page, the web.config file and the bin directory and place it...
3
2013
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 whole thing. Any advice would be greatfully received,
10
5314
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 of the page, loop through all controls on that page, examine their type and, if they're a...
2
2315
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"> <title>Untitled Page</title> <link rel="stylesheet" href="StyleSheet.css" type="text/css" />
0
8609
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7738
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5861
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.