Click here to Skip to main content
11,928,569 members (58,399 online)
Rate this:
Please Sign up or sign in to vote.
how to build the aspx page dynamically through programmactically.Is there any possible way. please instruct me with ur experience?
Posted 1-Dec-12 8:24am
ProgramFOX 1-Dec-12 13:25pm
Please don't repost.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think you can use the....

command to BUFFER the response that will be written by the response object
then generate your code for your ASPX page by using the...
Response.Write("Your ASPX page code dynamically genrated/written here")
The writing of the dynamic page code may span several lines and take several response.write lines

and finally FLUSH the buffer to the output with the ...

I recommend you check out the documentation on MSDN for the RESPONSE object though.
As what I am telling you is what I can remember through my use of the command via CLASSIC ASP some years back.
Nelek 2-Dec-12 13:32pm
OP's comment to you moved here from a non-solution below
sorry i did not understand.
Zaf Khan 3-Dec-12 5:16am
I think the link n Solution explains it beautifully and its a lot a write.
You should follow the link in Solution #3.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 2 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100