Create and assign dynamic home page for user
-
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.
-
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.
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> -
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>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.
-
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.
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> -
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>I think writing a handler could cause configuration problems, my website is very large. Is there any other suggestion for this.