Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Create a New page

Started 1 month, 2 weeks ago by chayadi
I am not sure what you mean by "some asp.net code already added". But, if you jsut want to create a page to display a static html only, you might want to consider to have one aspx page with a literal control.
Site: Forums - ASP.NET Forums  Forums - ASP.NET Forums - site profile
Forum: Web Forms  Web Forms - forum profile
Total authors: 3 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: asp.net

Other posts in this thread:

Nishitha u replied 1 month, 2 weeks ago
if (!File.Exists(fileName)) { using (StreamWriter writeStream = new StreamWriter(fileName, false, Encoding.UTF8)) { writeStream.Write(contents); writeStream.Close(); } } the contents you need to be added on the new page can be saved in Db as html.

hariram.p@live.in replied 1 month, 2 weeks ago
You can create a page from an aspx page. Make sure you have permission to write file in that directory. Normally for anonymous user you will have write access. Enable the write access in the IIS and in the directory permission to make you code working. For you are not using the anonymous access. If the authentication type is window make sure you have remove anonymous user from the IIS virtual...

 

Top contributing authors

Name
Posts
hariram.p@live.in
1
user's latest post:
Create a New page
Published (2009-11-02 00:47:31)
You can create a page from an aspx page. Make sure you have permission to write file in that directory. Normally for anonymous user you will have write access. Enable the write access in the IIS and in the directory permission to make you code working. For you are not using the anonymous access. If the authentication type is window make sure you have remove anonymous user...
chayadi
1
user's latest post:
Create a New page
Published (2009-11-01 23:57:31)
I am not sure what you mean by "some asp.net code already added". But, if you jsut want to create a page to display a static html only, you might want to consider to have one aspx page with a literal control.
Nishitha u
1
user's latest post:
Create a New page
Published (2009-11-02 00:30:31)
   if (!File.Exists(fileName))       {         using (StreamWriter writeStream = new StreamWriter(fileName, false, Encoding.UTF8))             {...

Related threads on "Forums - ASP.NET Forums":

Related threads on other sites:

Thread profile page for "Create a New page" on http://www.asp.net. This report page is a snippet summary view from a single thread "Create a New page", located on the Message Board at http://www.asp.net. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity