Microsoft Content Management Server - not able to add more than 3 cms placeholders in a user control

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > May 2006 > not able to add more than 3 cms placeholders in a user control





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 not able to add more than 3 cms placeholders in a user control
nemesis.saurabh@gmail.com

2006-05-25, 7:15 am

hi,
i am using VS 2005 with MCMS.
i have created a user control (.asxc) and linked it to the cms template
having 7 placeholders.
if i am lbinding only three placeholders then the page is working
perfectly.
but, on adding/binding any more placeholders( i.e. more than 3)
on loading the page it is throwing an exception as stated below.

""[HtmlPlaceholderControl "HtmlPlaceholderControl4"] No placeholder was
found for the PlaceholderToBind value "plac5".""

there is no problem if i do this in a normal .aspx page.
regards,
saurabh

Stefan [MSFT]

2006-05-29, 5:22 pm

Hi Saurab,

sounds as if the user control has been added to a template file that is
bound to a template which does not have this specific placeholder
definition.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


<nemesis.saurabh@gmail.com> wrote in message
news:1148546114.340074.4790@j33g2000cwa.googlegroups.com...
> hi,
> i am using VS 2005 with MCMS.
> i have created a user control (.asxc) and linked it to the cms template
> having 7 placeholders.
> if i am lbinding only three placeholders then the page is working
> perfectly.
> but, on adding/binding any more placeholders( i.e. more than 3)
> on loading the page it is throwing an exception as stated below.
>
> ""[HtmlPlaceholderControl "HtmlPlaceholderControl4"] No placeholder was
> found for the PlaceholderToBind value "plac5".""
>
> there is no problem if i do this in a normal .aspx page.
> regards,
> saurabh
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com