|
Home > Archive > Microsoft Content Management Server > June 2004 > hiding text in htmltextcontrol
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
hiding text in htmltextcontrol
|
|
| Rea Peleg 2004-06-20, 11:04 pm |
| Hi all
I want to hide text in htmlplaceholder when its page is published.
By checking the 'CmsHttpContext.Current.Mode' property i can tell when that
page is published.
When this is the case i set controls visibility to false, but it still shows
as long as the site is in edit mode
(inside web auther).
Only when switching to live site mode the control disappears.
Is there a way to hide it while in edit mode as well (and how can i check
the site's mode in code)??
Thank for your attention
Rea
| |
|
|
|
|
|