Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Question on Reference

Reply
Thread Tools

Question on Reference

 
 
Wayne Wengert
Guest
Posts: n/a
 
      05-12-2004
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


 
Reply With Quote
 
 
 
 
CT
Guest
Posts: n/a
 
      05-12-2004
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" <> wrote in message
news:O8R%...
> 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
>
>



 
Reply With Quote
 
 
 
 
Sapporo
Guest
Posts: n/a
 
      05-12-2004
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" <> wrote in message
news:O8R%...
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 2.0: master pages and web user controls: reference to a non-shared member requires an object reference bminder ASP .Net 0 06-24-2005 12:22 AM
asp.net 2005 question re: "reference to a non-shared member requires an object reference" ce ASP .Net 1 06-23-2005 09:15 PM
web reference interfering with reference to component Dude ASP .Net 0 11-09-2004 11:53 AM
How to tell if a reference is project or file reference from within the IDE? Darren ASP .Net 0 10-11-2004 12:51 AM
Passing the value by reference is same as pointer by reference sam pal C++ 3 07-16-2003 09:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57