Click here to Skip to main content
12,254,430 members (61,338 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB ASP.NET VB.NET
how to build the aspx page dynamically through programmactically.Is there any possible way. please instruct me with ur experience?
Posted 1-Dec-12 7:24am
Comments
ProgramFOX 1-Dec-12 13:25pm
   
Please don't repost.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

I think you can use the....

Response.Buffer
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 ...
Response.Flush
command.

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.
  Permalink  
Comments
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
Web02 | 2.8.160426.1 | Last Updated 2 Dec 2012
Copyright © CodeProject, 1999-2016
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