not able to add more than 3 cms placeholders in a user control
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > not able to add more than 3 cms placeholders in a user control




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    not able to add more than 3 cms placeholders in a user control  
nemesis.saurabh@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-06 12:15 PM

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






[ Post a follow-up to this message ]



    Re: not able to add more than 3 cms placeholders in a user control  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-29-06 10: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 wa
s
> found for the PlaceholderToBind value "plac5".""
>
> there is no problem if i do this in a normal .aspx page.
> regards,
> saurabh
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register