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 and assign dynamic home page for user

Create and assign dynamic home page for user

Scheduled Pinned Locked Moved ASP.NET
htmlhelplounge
5 Posts 2 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.
  • J Offline
    J Offline
    joindotnet
    wrote on last edited by
    #1

    In my website I want to give a feature to admin, that: 1. It can create an HTML content (including images) for a page and then save it. 2. Admin can create any number of such pages and mark them as active/inactive. 3. When a user logs in any random active page is displayed as her home page. Can anybody suggest how should it be done. Any help is greatly appreciated. Thanks.

    A 1 Reply Last reply
    0
    • J joindotnet

      In my website I want to give a feature to admin, that: 1. It can create an HTML content (including images) for a page and then save it. 2. Admin can create any number of such pages and mark them as active/inactive. 3. When a user logs in any random active page is displayed as her home page. Can anybody suggest how should it be done. Any help is greatly appreciated. Thanks.

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      I think you then need to store the html in database and a handler that handles the aspx extension should be used to call the database for the page based on some id. :)

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Microsoft Bing MAP using Javascript
      CLR objects in SQL Server 2005
      Uncommon C# Keywords
      /xml>

      J 1 Reply Last reply
      0
      • A Abhishek Sur

        I think you then need to store the html in database and a handler that handles the aspx extension should be used to call the database for the page based on some id. :)

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->** Microsoft Bing MAP using Javascript
        CLR objects in SQL Server 2005
        Uncommon C# Keywords
        /xml>

        J Offline
        J Offline
        joindotnet
        wrote on last edited by
        #3

        Would it possible to get a suggestion on which HTML editor be the best to use in this case. Also, if I write a handler for aspx pasges wouldn't it affect functioning of other aspx pages.

        A 1 Reply Last reply
        0
        • J joindotnet

          Would it possible to get a suggestion on which HTML editor be the best to use in this case. Also, if I write a handler for aspx pasges wouldn't it affect functioning of other aspx pages.

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          joindotnet wrote:

          get a suggestion on which HTML editor be the best to use in this case.

          There are lots of free html editors available over NET. .You can use anyone.

          joindotnet wrote:

          I write a handler for aspx pasges wouldn't it affect functioning of other aspx pages.

          Yes it would affect.. All the requests would be redirected to your custom handler. Just just need to Server.Transfer to the existing aspx files(if not from database). :)

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Microsoft Bing MAP using Javascript
          CLR objects in SQL Server 2005
          Uncommon C# Keywords
          /xml>

          J 1 Reply Last reply
          0
          • A Abhishek Sur

            joindotnet wrote:

            get a suggestion on which HTML editor be the best to use in this case.

            There are lots of free html editors available over NET. .You can use anyone.

            joindotnet wrote:

            I write a handler for aspx pasges wouldn't it affect functioning of other aspx pages.

            Yes it would affect.. All the requests would be redirected to your custom handler. Just just need to Server.Transfer to the existing aspx files(if not from database). :)

            Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


            My Latest Articles-->** Microsoft Bing MAP using Javascript
            CLR objects in SQL Server 2005
            Uncommon C# Keywords
            /xml>

            J Offline
            J Offline
            joindotnet
            wrote on last edited by
            #5

            I think writing a handler could cause configuration problems, my website is very large. Is there any other suggestion for this.

            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