Jump to content
Xtreme .Net Talk

Updating data without sending a new build to the server


Recommended Posts

Posted

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.

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)

Posted

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.

Jitesh Sinha
Posted

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.

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)

Posted

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.

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...