10-18-04 10:50 PM
Hi Stefan,
I got this error with your code
"Type 'HtmlPlaceholder' is not defined."
I tried:
Dim content As String = CType(DivPlaceHolder.BoundPlaceholder,
HtmlPlaceholderControl).Html
"Value of type 'Microsoft.ContentManagement.Publishing.Placeholder' cannot
be converted to
'Microsoft.ContentManagement.WebControls.HtmlPlaceholderControl'."
Any idea
Thanks
"Stefan [MSFT]" wrote:
> Hi Paulo,
>
> as assumed.
> You are not dealing with placeholders but with placeholder controls.
> Please retrieve the actual placeholder object using the BouldPlaceholder
> property of the placeholder control.
>
> Means to get the placeholder use this code:
>
> Dim content As String = CType(DivPlaceHolder.BoundPlaceholder,
> HtmlPlaceholder).Html
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Paulo Rosa" <PauloRosa@discussions.microsoft.com> wrote in message
> news:5AE6E79A-F189-4D16-A421-26D8AB694D33@microsoft.com...
> rights.
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> http://www.gotdotnet.com/community/...nagement+Server
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> http://www.gotdotnet.com/community/...nagement+Server
> posted
> retrieving
> that
> no
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm
> http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> http://www.gotdotnet.com/community/...nagement+Server
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> message
> I
> invisible,
> use
> the
>
>
>
[ Post a follow-up to this message ]
|