Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. create that aspx page in the runtime

create that aspx page in the runtime

Scheduled Pinned Locked Moved ASP.NET
questiontutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nithydurai
    wrote on last edited by
    #1

    my question is how can i create aspx page in runtime ? i want to give option "add new page" to the user, where he can add a new page and control its all contents. so i need to know how to create that aspx page in the runtime

    S N A 3 Replies Last reply
    0
    • N nithydurai

      my question is how can i create aspx page in runtime ? i want to give option "add new page" to the user, where he can add a new page and control its all contents. so i need to know how to create that aspx page in the runtime

      S Offline
      S Offline
      Sundar_R
      wrote on last edited by
      #2

      Check out codedom compiler namespace http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx[^] You can dynamically create and compile assemblies at runtime.

      1 Reply Last reply
      0
      • N nithydurai

        my question is how can i create aspx page in runtime ? i want to give option "add new page" to the user, where he can add a new page and control its all contents. so i need to know how to create that aspx page in the runtime

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        nithydurai wrote:

        my question is how can i create aspx page in runtime ?

        Just like you create any other file.

        nithydurai wrote:

        i want to give option "add new page" to the user, where he can add a new page and control its all contents. so i need to know how to create that aspx page in the runtime

        It is not a good idea to create ASPX pages on run time. What you are trying to do can easily done using URL rewriting. Read the articles on URL rewriting.

        Navaneeth How to use google | Ask smart questions

        1 Reply Last reply
        0
        • N nithydurai

          my question is how can i create aspx page in runtime ? i want to give option "add new page" to the user, where he can add a new page and control its all contents. so i need to know how to create that aspx page in the runtime

          A Offline
          A Offline
          Ashutosh Phoujdar
          wrote on last edited by
          #4

          As per problem description provided, I may guess that you want to create a dynamically generated page based on some inputs e.g from user or some XML that contains control details. On this thread I would like to include that, It can be done by using some utility frameworks e.g. 1. MonoRail[^] 2. NVelocity[^] Both of the framework, accept a template file and render the output file in desired format. Although It is not pretty much easy as it sounds. I hope by going through some quick starts at given link you may be able to get some where.

          dnpro "Very bad programmer" My Latest Articles RichTextBox Control with Find functionality LogViewer - A Simple Log Listening Utility

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups