01-19-07 12:19 PM
Hi Sc,
what is wbcmode in your code below?
Cheers,
Stefan
"sc" <sonyacooley@vodafone.ie> wrote in message
news:1169138308.915585.146660@v45g2000cwv.googlegroups.com...
>I have a piece of code that checks what mode the user is in:
>
> if (wbcmode.Mode != WebAuthorContextMode.AuthoringReedit &&
> wbcmode.Mode != WebAuthorContextMode.AuthoringNew)
> {
> message.Text = "Live Mode";
> }
> else
> {
> message.Text = "Author Mode";
> }
>
> This works intermittently. Sometimes the label appears in Author mode,
> sometimes it doesn't.
> Sometimes if I move the label closer to the placeholder in the file it
> works the next time I view the file in Authoring mode. No real pattern.
> Is this a caching problem. I have cleared my browser history, cache,
> etc. But it still doesn't work. Any ideas? txs
>
[ Post a follow-up to this message ]
|