473,396 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

aspx files

I'm doing something wrong... not quite sure what...

I got a basic web forms page built and running inside the IDE per
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr
eatingBasicWebFormsPage.htm

The project works exactly as it should inside VS.NET however, if i try to
click on the WebForm1.aspx file in \\localhost\WebApplication1 it launches
the .aspx file in the IDE but won't launch a separate browser window.

I can get the page to launch in a browser if I link to it from an HTML page
but if i do i can only see the Text Field and Label HTML server controls. I
can't see the Button1 Web server control.

Can someone help me figure out what I'm doing wrong?
Nov 15 '05 #1
7 1670
Is WebApplication1 the project file or the name of a Form? If it's the
former then I would have thought that would have been expected behavior
"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'm doing something wrong... not quite sure what...

I got a basic web forms page built and running inside the IDE per
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr eatingBasicWebFormsPage.htm

The project works exactly as it should inside VS.NET however, if i try to
click on the WebForm1.aspx file in \\localhost\WebApplication1 it launches
the .aspx file in the IDE but won't launch a separate browser window.

I can get the page to launch in a browser if I link to it from an HTML page but if i do i can only see the Text Field and Label HTML server controls. I can't see the Button1 Web server control.

Can someone help me figure out what I'm doing wrong?

Nov 15 '05 #2
WebApplication1 is the name of the folder that holds the file WebForm1.aspx

When I open the folder with the folder browser and click on the
WebForm1.aspx file it opens in the IDE instead of opening in an Internet
Browser window.
"nevin" <ne***@NOSPAM.myself.com> wrote in message
news:40**********************@mercury.nildram.net. ..
Is WebApplication1 the project file or the name of a Form? If it's the
former then I would have thought that would have been expected behavior
"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'm doing something wrong... not quite sure what...

I got a basic web forms page built and running inside the IDE per

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr
eatingBasicWebFormsPage.htm

The project works exactly as it should inside VS.NET however, if i try to click on the WebForm1.aspx file in \\localhost\WebApplication1 it launches the .aspx file in the IDE but won't launch a separate browser window.

I can get the page to launch in a browser if I link to it from an HTML

page
but if i do i can only see the Text Field and Label HTML server

controls. I
can't see the Button1 Web server control.

Can someone help me figure out what I'm doing wrong?


Nov 15 '05 #3
When you say Folder browser, do you mean Windows Explorer or do you mean
maybe the Solution Explorer that is part of VS.NET or something completely
different?
"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
WebApplication1 is the name of the folder that holds the file WebForm1.aspx
When I open the folder with the folder browser and click on the
WebForm1.aspx file it opens in the IDE instead of opening in an Internet
Browser window.
"nevin" <ne***@NOSPAM.myself.com> wrote in message
news:40**********************@mercury.nildram.net. ..
Is WebApplication1 the project file or the name of a Form? If it's the
former then I would have thought that would have been expected behavior
"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'm doing something wrong... not quite sure what...

I got a basic web forms page built and running inside the IDE per

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr
eatingBasicWebFormsPage.htm

The project works exactly as it should inside VS.NET however, if i try to click on the WebForm1.aspx file in \\localhost\WebApplication1 it launches the .aspx file in the IDE but won't launch a separate browser window.

I can get the page to launch in a browser if I link to it from an HTML

page
but if i do i can only see the Text Field and Label HTML server

controls.
I
can't see the Button1 Web server control.

Can someone help me figure out what I'm doing wrong?



Nov 15 '05 #4
windows explorer

"nevin" <ne***@NOSPAM.myself.com> wrote in message
news:40**********************@mercury.nildram.net. ..
When you say Folder browser, do you mean Windows Explorer or do you mean
maybe the Solution Explorer that is part of VS.NET or something completely
different?
"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
WebApplication1 is the name of the folder that holds the file

WebForm1.aspx

When I open the folder with the folder browser and click on the
WebForm1.aspx file it opens in the IDE instead of opening in an Internet
Browser window.
"nevin" <ne***@NOSPAM.myself.com> wrote in message
news:40**********************@mercury.nildram.net. ..
Is WebApplication1 the project file or the name of a Form? If it's the
former then I would have thought that would have been expected behavior

"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
> I'm doing something wrong... not quite sure what...
>
> I got a basic web forms page built and running inside the IDE per
>

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr
> eatingBasicWebFormsPage.htm
>
> The project works exactly as it should inside VS.NET however, if i try
to
> click on the WebForm1.aspx file in \\localhost\WebApplication1 it

launches
> the .aspx file in the IDE but won't launch a separate browser

window. >
> I can get the page to launch in a browser if I link to it from an HTML page
> but if i do i can only see the Text Field and Label HTML server

controls.
I
> can't see the Button1 Web server control.
>
> Can someone help me figure out what I'm doing wrong?
>
>



Nov 15 '05 #5
Chuck,
from your post it seems we might be confusing the difference between making
an HTTP request for the page vs. clicking on the page in Windows Explorer.

If you know the HTTP URL of the page, such as
http://localhost/WebApplication1/Webform1.aspx
this should send the page request through IIS, which apparently is what you
are looking for. If you just click on the page in Explorer view, it's going
to LOAD in the default application which in this case would be Visual Studio
..NET.
Does this help?
--Peter

"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'm doing something wrong... not quite sure what...

I got a basic web forms page built and running inside the IDE per
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr eatingBasicWebFormsPage.htm

The project works exactly as it should inside VS.NET however, if i try to
click on the WebForm1.aspx file in \\localhost\WebApplication1 it launches
the .aspx file in the IDE but won't launch a separate browser window.

I can get the page to launch in a browser if I link to it from an HTML page but if i do i can only see the Text Field and Label HTML server controls. I can't see the Button1 Web server control.

Can someone help me figure out what I'm doing wrong?

Nov 15 '05 #6
Ok, so *.html files will load to the default browser but *.aspx files are
set by default to load into VS.

Yes, I guess it does clear it up some... thanks...
"Peter Bromberg [C# MVP]" <pb*******@yahoo.com> wrote in message
news:O7**************@TK2MSFTNGP10.phx.gbl...
Chuck,
from your post it seems we might be confusing the difference between making an HTTP request for the page vs. clicking on the page in Windows Explorer.

If you know the HTTP URL of the page, such as
http://localhost/WebApplication1/Webform1.aspx
this should send the page request through IIS, which apparently is what you are looking for. If you just click on the page in Explorer view, it's going to LOAD in the default application which in this case would be Visual Studio .NET.
Does this help?
--Peter

"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
I'm doing something wrong... not quite sure what...

I got a basic web forms page built and running inside the IDE per

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr
eatingBasicWebFormsPage.htm

The project works exactly as it should inside VS.NET however, if i try to click on the WebForm1.aspx file in \\localhost\WebApplication1 it launches the .aspx file in the IDE but won't launch a separate browser window.

I can get the page to launch in a browser if I link to it from an HTML

page
but if i do i can only see the Text Field and Label HTML server

controls. I
can't see the Button1 Web server control.

Can someone help me figure out what I'm doing wrong?


Nov 15 '05 #7
ah ok, well every file extension has a default application to open it if you
double click it. In the case you describe aspx files are set to open with
VS. Mine on the other hand are set to open by Dreamweaver so when I click
one it lets me design the page.
If you right click on an .aspx select 'Open with..' and from there you can
select the applictation to always open that particular file extension. If
you want it to be your web browser then you can but I wouldn't really advise
it for .aspx files. Sure the end result gets displayed there but on its own
the aspx isn't much use apart from just seeing the layout which you are
better off viewing from a debug session within VS.NET anyway and then you
get the full functionality.

"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
windows explorer

"nevin" <ne***@NOSPAM.myself.com> wrote in message
news:40**********************@mercury.nildram.net. ..
When you say Folder browser, do you mean Windows Explorer or do you mean
maybe the Solution Explorer that is part of VS.NET or something completely
different?
"Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
WebApplication1 is the name of the folder that holds the file

WebForm1.aspx

When I open the folder with the folder browser and click on the
WebForm1.aspx file it opens in the IDE instead of opening in an Internet Browser window.
"nevin" <ne***@NOSPAM.myself.com> wrote in message
news:40**********************@mercury.nildram.net. ..
> Is WebApplication1 the project file or the name of a Form? If it's the > former then I would have thought that would have been expected

behavior >
>
> "Chuck Bowling" <ch**********@sbcglobal-NO-SPAM.net> wrote in message > news:ei**************@TK2MSFTNGP12.phx.gbl...
> > I'm doing something wrong... not quite sure what...
> >
> > I got a basic web forms page built and running inside the IDE per
> >
>

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vbcon/html/vbwlkWalkthroughCr
> > eatingBasicWebFormsPage.htm
> >
> > The project works exactly as it should inside VS.NET however, if i try to
> > click on the WebForm1.aspx file in \\localhost\WebApplication1 it
launches
> > the .aspx file in the IDE but won't launch a separate browser window. > >
> > I can get the page to launch in a browser if I link to it from an HTML > page
> > but if i do i can only see the Text Field and Label HTML server
controls.
> I
> > can't see the Button1 Web server control.
> >
> > Can someone help me figure out what I'm doing wrong?
> >
> >
>
>



Nov 15 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Thomas | last post by:
I would like to use something like .x rather than .aspx for my asp.net projects. One reason is, I'd rather everyone not know what language/platform our projects are written in. (I like security AND...
2
by: Glen | last post by:
As I understand it, when the first page of an application is accessed, all ASPX/ASCX/etc. files in the same folder are compiled using the JIT compiler. Is there a way to turn this feature off? ...
4
by: BH | last post by:
I'm looking at the source code of the ASP.NET forum sample application. It has the "code-behind" classes compiled into a separate DLL, totally separated from the aspx/ascx files. Adding the class...
6
by: Hans Kesting | last post by:
Hi, When I add a webform, VS generates three files: WebForm1.aspx WebForm1.aspx.cs (could also be "WebForm1.aspx.vb" I guess) WebForm1.aspx.resx What is that last file for? How can I use...
1
by: Tom | last post by:
Hi I developed a web application and want to create the setup package msi file I created a a project and chose "Installer Web Project" I set the URL to be http://localhost:808 I chose all...
10
by: bienwell | last post by:
Hi, I have a question about file included in ASP.NET. I have a file that includes all the Sub functions (e.g FileFunct.vb). One of the functions in this file is : Sub TestFunct(ByVal...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
18
by: Boris Yeltsin | last post by:
I'm using a Web Deployment Project under Visual Studio 2005. What I would love to be able to deploy to a fresh server is just the \bin folder and the web.config (and perhaps a couple of other...
7
by: JeremyWoertink | last post by:
I have an app that I need to make changes to, and on my local copy I have a start.aspx.vb file that I edited and tested, now when I go to the app on the server, it doesn't show any of the .vb...
1
by: djnokturnal | last post by:
Hey guys/gals, I have successfully implemented forms authentication on my site: <authentication mode="Forms"> <forms loginUrl="/Members/Login.aspx" timeout="20"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.