Lost My Web Form!!

  • Thread starter Thread starter George
  • Start date Start date
G

George

I unintentionally clicked on "Exclude from project" while I was on my .aspx
file. I went in and added it back into the project, but I could no longer
bring up my Web form that I designed.. There used to be two tabs at the
bottom of my VS design environement that said something like, "Designer" and
"HTML" and I could go back and forth between my Web form and my HTML. Those
two tabs are not down there anymore, and the only thing I can see is my
..aspx file, but only the HTML is available, my .aspx.vb file, with the code
behind page, and my. css file.

How do I get those two tab buttons back so I can access my Web form again?
I've looked everywhere, but no luck. It's not even listed under Solutions
Explorer! I hope I haven't lost it permanently.

Thanks,
George
 
In Solution Explorer window (in VS.NET environment), turn on "Show All
Files" option so excluded .aspx file will listed in gray color, right click
on filename and select "Include in Project".

Tiendq,
(e-mail address removed)
 
Hi George,

You can always use Windows Explorer to rescue the files, something like
c:\inetpub\wwwroot\myproject .

If you want to reset your tabs to the original ("factory") settings, go to

Tools > Options > Environment > General Reset Window Layout.

Also make sure that in Solution Explorer or the project, you click the
button to show all files.

Ken
 
Thanks, Do and Ken.

However, I have already re-Included my .aspx file back into my project.
After I did that, the only thing in that file that I can access is the HTML
code. The Web form that I designed (that produced that HTML code) is not
there anymore. How can I have the HTML in the .aspx file, but not have the
Web form that goes along with it? And those two tabs at the bottom left of
the screen are not there, which is how I used to switch back and forth
betwen Design Mode and HTML Mode.

Surely accidentally excluding something and then reincluding it is not
enough to cause a loss of design work, is it?

George
 
Do and Ken,

Okay, I got it figured out, and I now have everything back the way it
was. Almost had a panic attack over all that! ;-)

Thanks for your help.

George
 
Back
Top