| Author |
assigning user control as template
|
|
|
| I assigned a usercontrol .ascx to a template.
on the user control there is a HTML place holder contols
which i have bind to the HTML place holder control
defination on the template.
but i get error "No placeholder was found for the
PlaceholderToBind value"
this whole user control resides on a .aspx page which is
also linked to a template.
can this be done.
Mary.
| |
| Stefan [MSFT] 2005-02-28, 5:53 pm |
| Hi Mary,
it seems you did not set the PlaceholderToBind property of the
HtmlPlaceholderControl in the ASCX file.
Please verify.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/56jt8
----------------------
"Mary" <anonymous@discussions.microsoft.com> wrote in message
news:23d701c51dbf$825cdc50$a401280a@phx.gbl...
> I assigned a usercontrol .ascx to a template.
>
> on the user control there is a HTML place holder contols
> which i have bind to the HTML place holder control
> defination on the template.
>
> but i get error "No placeholder was found for the
> PlaceholderToBind value"
>
> this whole user control resides on a .aspx page which is
> also linked to a template.
>
> can this be done.
>
> Mary.
>
>
>
| |
| Kyong Kwak 2005-02-28, 5:53 pm |
| the error makes it seem like you forgot to assign the placeholdertobind
value.. so the tag might look like this...
<cms:HtmlPlaceholderControl id="myHtmlControl" runat="server"
EditControlWidth="595" EditControlHeight="595"
PlaceholderToBind="myControlInTemplate"></cms:HtmlPlaceholderControl>
"Mary" <anonymous@discussions.microsoft.com> wrote in message
news:23d701c51dbf$825cdc50$a401280a@phx.gbl...
>I assigned a usercontrol .ascx to a template.
>
> on the user control there is a HTML place holder contols
> which i have bind to the HTML place holder control
> defination on the template.
>
> but i get error "No placeholder was found for the
> PlaceholderToBind value"
>
> this whole user control resides on a .aspx page which is
> also linked to a template.
>
> can this be done.
>
> Mary.
>
>
>
| |
|
| Hi Stefan,
the property has been set
Mary
>-----Original Message-----
>Hi Mary,
>
>it seems you did not set the PlaceholderToBind property
of the
>HtmlPlaceholderControl in the ASCX file.
>Please verify.
>
>Cheers,
>Stefan.
>
>--
>This posting is provided "AS IS" with no warranties, and
confers no rights
>Book: Building Websites Using MCMS:
http://tinyurl.com/56jt8
>----------------------
>
>
>"Mary" <anonymous@discussions.microsoft.com> wrote in
message
>news:23d701c51dbf$825cdc50$a401280a@phx.gbl...
contols[vbcol=seagreen]
is[vbcol=seagreen]
>
>
>.
>
| |
|
| the property has been set.
the HTML code shows the same a yours.

Mary
>-----Original Message-----
>the error makes it seem like you forgot to assign the
placeholdertobind
>value.. so the tag might look like this...
>
><cms:HtmlPlaceholderControl id="myHtmlControl"
runat="server"
>EditControlWidth="595" EditControlHeight="595"
>
PlaceholderToBind="myControlInTemplate"></cms:HtmlPlacehol
derControl>
>
>
>
>"Mary" <anonymous@discussions.microsoft.com> wrote in
message
>news:23d701c51dbf$825cdc50$a401280a@phx.gbl...
contols[vbcol=seagreen]
is[vbcol=seagreen]
>
>
>.
>
| |
| Stefan [MSFT] 2005-02-28, 5:53 pm |
| Hi,
please post the source code of your ASCX.
Thanks,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/56jt8
----------------------
<anonymous@discussions.microsoft.com> wrote in message
news:13fc01c51dc6$f6dd5e40$a501280a@phx.gbl...[vbcol=seagreen]
> Hi Stefan,
>
> the property has been set
>
> Mary
> of the
> confers no rights
> http://tinyurl.com/56jt8
> message
> contols
> is
| |
| Stefan [MSFT] 2005-02-28, 5:53 pm |
| Then double check if the template definition that holds this control has a
placeholder definition with exactly the listed name.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/56jt8
----------------------
<anonymous@discussions.microsoft.com> wrote in message
news:13fe01c51dc7$124d2430$a501280a@phx.gbl...[vbcol=seagreen]
> the property has been set.
> the HTML code shows the same a yours.
>
> 
> Mary
>
> placeholdertobind
> runat="server"
> PlaceholderToBind="myControlInTemplate"></cms:HtmlPlacehol
> derControl>
> message
> contols
> is
|
|
|
|