mike55 Posted December 19, 2006 Posted December 19, 2006 I have a manager that wants to be able to access a site and update the description of the site that is visible to the user at any time. Can anyone suggest possible solutions, one thing that I was considering was a field in the database that holds the text that the user sees. The second option is a text file which is somehow linked to the .aspx page. Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Jitesh Posted December 19, 2006 Posted December 19, 2006 Hi Mike, If it's just for displaying purpose I would rather prefer using a text file. Provide a interface to the user to write the text, save it in the a text file, read it using filestream from .aspx page and display. HTH. Quote Jitesh Sinha
mike55 Posted December 19, 2006 Author Posted December 19, 2006 Thanks Jitesh, "Silly, just after figuring out what was wrong, I should be useing the command InnerHtml instead of InnerText". I am currently attempting this approach. The only problem that I am having is that the html commands such as <br> and <p> are not being recognised. I have added a div tag, given it an Id and set the runat="server". In my code behind I am using the cmd:(divtagID).InnerText = x where x is a string that contains the data returned from the text file. Any suggestion on how to get the html tags recognised? Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
mike55 Posted December 21, 2006 Author Posted December 21, 2006 I have the above approach working with html table, however I have been told that it needs to be able to work with panel and with absolute postion. When I allow panels, divs, etc. to be set the position: absolute I lose all control over the changeable content. Can anyone give me a valid reason on why/why not I should use absolute postions? Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.