Connecting Tech Pros Worldwide Forums | Help | Site Map

Question on Reference

Wayne Wengert
Guest
 
Posts: n/a
#1: Nov 18 '05
I built a project in VSNET 2003 and it initially named the first form
"WebForm1". I changed the name of the form to "Eval1" but when I look at the
HTML code I see that it still shows WebForm1 in the "Inherits" element:

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="myProj.aspx.vb"
Inherits="myProj.WebForm1"%>

There is no WebForm1 anymore?

Wayne



CT
Guest
 
Posts: n/a
#2: Nov 18 '05

re: Question on Reference


The class name inside the form has not been changed; it's still WebForm1.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> wrote in message
news:O8R%23tuDOEHA.3988@tk2msftngp13.phx.gbl...[color=blue]
> I built a project in VSNET 2003 and it initially named the first form
> "WebForm1". I changed the name of the form to "Eval1" but when I look at[/color]
the[color=blue]
> HTML code I see that it still shows WebForm1 in the "Inherits" element:
>
> <%@ Page Language="vb" AutoEventWireup="false" Codebehind="myProj.aspx.vb"
> Inherits="myProj.WebForm1"%>
>
> There is no WebForm1 anymore?
>
> Wayne
>
>[/color]


Sapporo
Guest
 
Posts: n/a
#3: Nov 18 '05

re: Question on Reference


I've noticed that Studio doesn't usually propogate changes to the Page
Directives in the HTML. You need to manually update them yourself. Unless
I'm missing something, but this is how I've had to do it in the past.


"Wayne Wengert" <wayneDONTWANTSPAM@wengert.com> wrote in message
news:O8R%23tuDOEHA.3988@tk2msftngp13.phx.gbl...[color=blue]
> I built a project in VSNET 2003 and it initially named the first form
> "WebForm1". I changed the name of the form to "Eval1" but when I look at[/color]
the[color=blue]
> HTML code I see that it still shows WebForm1 in the "Inherits" element:
>
> <%@ Page Language="vb" AutoEventWireup="false" Codebehind="myProj.aspx.vb"
> Inherits="myProj.WebForm1"%>
>
> There is no WebForm1 anymore?
>
> Wayne[/color]


Closed Thread