Ask a Question related to ASP.NET General, Design and Development.
-
J.Marsch #1
Dynamically load an ASP Page
I'm pretty new to ASP.Net
(server side)
Suppose that I have an instance of an ASP Page class, and I want the
client's web browser to load it.
I don't necessarily know the URL of the page that I have, I just have an
instance of it. How do I make the browser load the page.
If I were writing winform code, it would be something like this:
MyFormClass oForm = new MyFormClass();
oForm.Show();
J.Marsch Guest
-
Load Image Dynamically
Hi, brothers :) I'm rather novice in this area. I mean web programming and control building and though. I create UserControl: public class... -
Dynamically load of 3d models
Hi! I'm about to create a larger realtime 3d project. I havn't completely decided on which technology to use, but my first choice is director.... -
load image dynamically into tilelist icon
Hey all you Flex gurus, If got a httpservice set up, and my mxml app loads some XML, the data is put into a grid and a tilelist by using the... -
Can CSS file load dynamically?
We have a large application. In our design, we make the whole application as one mxml application, and the other modules are the mxml components to... -
Best way to dynamically load jpegs?
I am new to Flash and actionscript and just getting my feet wet learning how to put the pieces together. I would like to dynamically load series of... -
Yan-Hong Huang[MSFT] #2
RE: Dynamically load an ASP Page
Hello Jeremy,
It seems that you have some misunderstanding here.
In windows forms application, there is a startup point to run the application. After that, the code runs under user interaction, like
typical win32 applications. So you could initialize a form and then show it in the code.
But for asp.net web forms appliation, things are different. It is based on HTTP request/response model. In order to run a
page, you need to request it from a client's browser. After it is request, asp.net wil run server side code and send response to
the client. So there is no way to initialize a page and display it like a windows forms. But, you could use functions to open a
new page in client side, such as showModalDialog.
For details, I suggest you refer to [url]http://msdn.microsoft.com/library/en-[/url]
us/vbcon/html/vboriCreatingApplicationsInVBVCs.asp?frame=true.
Thanks very much.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Reply-To: "J.Marsch" <jeremy@ctcdeveloper.com>
!From: "J.Marsch" <jeremy@ctcdeveloper.com>
!Subject: Dynamically load an ASP Page
!Date: Fri, 1 Aug 2003 14:07:59 -0500
!Lines: 16
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <ef$18AGWDHA.3232@tk2msftngp13.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 206.52.52.37
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164219
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!I'm pretty new to ASP.Net
!(server side)
!Suppose that I have an instance of an ASP Page class, and I want the
!client's web browser to load it.
!
!I don't necessarily know the URL of the page that I have, I just have an
!instance of it. How do I make the browser load the page.
!
!If I were writing winform code, it would be something like this:
!
!MyFormClass oForm = new MyFormClass();
!oForm.Show();
!
!
!
!
!
Yan-Hong Huang[MSFT] Guest
-
J.Marsch #3
Re: Dynamically load an ASP Page
Thank you for the info, I'll read up.
"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
news:T8iBVbxWDHA.1996@cpmsftngxa06.phx.gbl...application. After that, the code runs under user interaction, like> Hello Jeremy,
>
> It seems that you have some misunderstanding here.
>
> In windows forms application, there is a startup point to run theit in the code.> typical win32 applications. So you could initialize a form and then showHTTP request/response model. In order to run a>
> But for asp.net web forms appliation, things are different. It is based onasp.net wil run server side code and send response to> page, you need to request it from a client's browser. After it is request,windows forms. But, you could use functions to open a> the client. So there is no way to initialize a page and display it like arights.> new page in client side, such as showModalDialog.
>
> For details, I suggest you refer to [url]http://msdn.microsoft.com/library/en-[/url]
> us/vbcon/html/vboriCreatingApplicationsInVBVCs.asp?frame=true.
>
> Thanks very much.
>
> Best regards,
> Yanhong Huang
> Microsoft Online Partner Support
>
> Get Secure! - [url]www.microsoft.com/security[/url]
> This posting is provided "AS IS" with no warranties, and confers nomicrosoft.public.dotnet.framework.aspnet:164219>
> --------------------
> !Reply-To: "J.Marsch" <jeremy@ctcdeveloper.com>
> !From: "J.Marsch" <jeremy@ctcdeveloper.com>
> !Subject: Dynamically load an ASP Page
> !Date: Fri, 1 Aug 2003 14:07:59 -0500
> !Lines: 16
> !X-Priority: 3
> !X-MSMail-Priority: Normal
> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> !Message-ID: <ef$18AGWDHA.3232@tk2msftngp13.phx.gbl>
> !Newsgroups: microsoft.public.dotnet.framework.aspnet
> !NNTP-Posting-Host: 206.52.52.37
> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
> !Xref: cpmsftngxa06.phx.gbl> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> !
> !I'm pretty new to ASP.Net
> !(server side)
> !Suppose that I have an instance of an ASP Page class, and I want the
> !client's web browser to load it.
> !
> !I don't necessarily know the URL of the page that I have, I just have an
> !instance of it. How do I make the browser load the page.
> !
> !If I were writing winform code, it would be something like this:
> !
> !MyFormClass oForm = new MyFormClass();
> !oForm.Show();
> !
> !
> !
> !
> !
>
>
J.Marsch Guest



Reply With Quote

