Thursday, March 29, 2012

On-The-Fly ASPX

Hi,

Does anyone have a clue how to create a page during runtime?

I am developing a web control library. The control I am developing within it
presently will need to present the user with a modal dialog page. However,
the page will not exist until the users interaction calls for it.

So in this case I can not create an aspx page with its code behind at design
time.

Any help or clues would be great!

--
-DemetriSaying that you can't create a modal dialog page with its code behind at
design time is like saying that when you're building a Windows Forms app,
you can't create a modal dialog form with its code at design time. Of course
you can.

> However,
> the page will not exist until the users interaction calls for it.

No page exists until the user's interaction (Request via browser) calls for
it.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Demetri" <Demetri@.discussions.microsoft.com> wrote in message
news:34788CD7-6166-4967-95FD-10C2C83DDA45@.microsoft.com...
> Hi,
> Does anyone have a clue how to create a page during runtime?
> I am developing a web control library. The control I am developing within
it
> presently will need to present the user with a modal dialog page. However,
> the page will not exist until the users interaction calls for it.
> So in this case I can not create an aspx page with its code behind at
design
> time.
> Any help or clues would be great!
> --
> -Demetri
Google: "CodeDOM"+"asp.net"

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET csgallagher@.REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Demetri" <Demetri@.discussions.microsoft.com> wrote in message
news:34788CD7-6166-4967-95FD-10C2C83DDA45@.microsoft.com...
> Hi,
> Does anyone have a clue how to create a page during runtime?
> I am developing a web control library. The control I am developing within
it
> presently will need to present the user with a modal dialog page. However,
> the page will not exist until the users interaction calls for it.
> So in this case I can not create an aspx page with its code behind at
design
> time.
> Any help or clues would be great!
> --
> -Demetri

0 comments:

Post a Comment