Home All Groups Group Topic Archive Search About

.aspx / .ascx in Visual Studio 2005

Author
23 Dec 2005 7:55 PM
Rob
Ok, I am a beginner when it comes to ASP.NET and C#.  I have been "playing"
with Visual Studio 2005 for about 1 week now and I cannot figure out how to
create a .aspx or .ascx page in VS 2005.  I want to use these files so I can
create the code behind (.ascx.cs) file.

I don't see either as a "template" option when I select "New Item" in VS
2005.  What am I doing wrong? (or am I completely blind :) ....)

Thanks
Rob Cuscaden

Author
23 Dec 2005 8:11 PM
Rob
AHHHH  HHHHHAAAAA!!!!!!

Ok, I figured it out and I wanted to post what I just discovered. When you
select File->New... you are given some options (Project, Web site, File). 
Instead of selecting File->New->Project.... You select File->New->Web Site
and this will bring you to a page where you can select an ASP.NET page and
you can add in .ascx server controls.

Rob Cuscaden

Show quoteHide quote
"Rob" wrote:

> Ok, I am a beginner when it comes to ASP.NET and C#.  I have been "playing"
> with Visual Studio 2005 for about 1 week now and I cannot figure out how to
> create a .aspx or .ascx page in VS 2005.  I want to use these files so I can
> create the code behind (.ascx.cs) file.
>
> I don't see either as a "template" option when I select "New Item" in VS
> 2005.  What am I doing wrong? (or am I completely blind :) ....)
>
> Thanks
> Rob Cuscaden
Are all your drivers up to date? click for free checkup

Author
24 Dec 2005 8:17 PM
Edwin Knoppert
There is a good way, right mouse on specific parts in the project tree.
This will give related items only.


Show quoteHide quote
"Rob" <R**@discussions.microsoft.com> schreef in bericht
news:355B00A9-A1C7-40EB-ADBE-C42BFBC03D63@microsoft.com...
> AHHHH  HHHHHAAAAA!!!!!!
>
> Ok, I figured it out and I wanted to post what I just discovered. When you
> select File->New... you are given some options (Project, Web site, File).
> Instead of selecting File->New->Project.... You select File->New->Web Site
> and this will bring you to a page where you can select an ASP.NET page and
> you can add in .ascx server controls.
>
> Rob Cuscaden
>
> "Rob" wrote:
>
>> Ok, I am a beginner when it comes to ASP.NET and C#.  I have been
>> "playing"
>> with Visual Studio 2005 for about 1 week now and I cannot figure out how
>> to
>> create a .aspx or .ascx page in VS 2005.  I want to use these files so I
>> can
>> create the code behind (.ascx.cs) file.
>>
>> I don't see either as a "template" option when I select "New Item" in VS
>> 2005.  What am I doing wrong? (or am I completely blind :) ....)
>>
>> Thanks
>> Rob Cuscaden

Bookmark and Share