Jerry
Fri Nov 07 18:22:53 CST 2003
Sia, it would be a lot more helpful to show the actual HTML being sent to IE
(View -> Source). My guess is that your Asp.Net (you're not using APS, not
even ASP but ASP.NET) pages are not being processed by the framework (maybe
because you installed IIS after you installed the framework), you need to
register it with IIS, just search this newsgroup, there's tons of posts on
how to do this.
Jerry
"sia malek" <anonymous@discussions.microsoft.com> wrote in message
news:30A8D67C-0A24-4C4F-B587-C291D68CF605@microsoft.com...
> Below is the code in OrderForm.aspx and the code in the OrderForm.aspx.vb
file. The only thing that appears on the screen is "Cutomer Order" lable.
Many thanks. This is driving me crazy.
>
> <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="OrderForm.aspx.vb"
Inherits="CustomerOrders.OrderForm"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.0 Transitional//EN"><HTML><HEAD><title>OrderForm</title><meta
name="GENERATOR" content="Microsoft Visual Studio.NET 7.0"><meta
name="CODE_LANGUAGE" content="Visual Basic 7.0"><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:Image id=Image1 style="Z-INDEX: 101; LEFT: 8px;
POSITION: absolute; TOP: 8px" runat="server" Width="368px" Height="264px"
ImageUrl="clearlogo.jpg"></asp:Image><asp:TextBox id=txtOrderDate
style="Z-INDEX: 103; LEFT: 400px; POSITION: absolute; TOP: 200px"
runat="server"></asp:TextBox><asp:Label id=Label1 style="Z-INDEX: 102; LEFT:
400px; POSITION: absolute; TOP: 152px" runat="server" Width="185px"
Font-Bold="True" Font-Size="Large">Customer
Orders</asp:Label></form></body></HTML>
>
>
> Public Class OrderForm
> Inherits System.Web.UI.Page
> Protected WithEvents Image1 As System.Web.UI.WebControls.Image
> Protected WithEvents Label1 As System.Web.UI.WebControls.Label
> Protected WithEvents txtOrderDate As System.Web.UI.WebControls.TextBox
>
> #Region " Web Form Designer Generated Code "
>
> 'This call is required by the Web Form Designer.
> <System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
>
> End Sub
>
> 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
> txtOrderDate.Text = DateString
> End Sub
>
> End Class
>
>