Search the web
Sign In
New User? Sign Up
sitecore
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Type does not have a public property named 'renderingid'   Message List  
Reply | Forward Message #3302 of 3315 |
Re: [sitecore] Type does not have a public property named 'renderingid'


Inherit from Sitecore.Web.UI.WebControl instead of System.Web.UI.WebControl, and
override DoRender() instead of Render().

If you inherit from System.Web.UI.WebControl, you can't use the control in
Developer Center, you can't bind it to a placeholder, and you can't use Sitecore
output caching for that control.

http://sdn.sitecore.net/Reference/Sitecore%206/Presentation%20Component%20Refere\
nce.aspx


http://sdn.sitecore.net/Reference/Sitecore%206/Presentation%20Component%20Cookbo\
ok.aspx



--- On Thu, 10/23/08, azamat_kd <azamat_kd@...> wrote:

> From: azamat_kd <azamat_kd@...>
> Subject: [sitecore] Type does not have a public property named 'renderingid'
> To: sitecore@yahoogroups.com
> Date: Thursday, October 23, 2008, 3:27 AM
> Hi,
>
> I have created one control which is inherited from
> System.Web.UI.Control
>
> It works fine in Content Editor..but if you go to Developer
> Center and
> add the control to any layout it generates runtime error.
>
> The error message is : Type 'mynamespace.mycontrol'
> doen not have a
> publich property named 'renderingid'
>
> Can anybody have any idea what i am doing wrong here?
>
> Thanks in advance...






Thu Oct 23, 2008 12:45 pm

johnpwest3
Offline Offline
Send Email Send Email

Forward
Message #3302 of 3315 |
Expand Messages Author Sort by Date

Hi, I have created one control which is inherited from System.Web.UI.Control It works fine in Content Editor..but if you go to Developer Center and add the...
azamat_kd
Offline Send Email
Oct 23, 2008
12:39 pm

Inherit from Sitecore.Web.UI.WebControl instead of System.Web.UI.WebControl, and override DoRender() instead of Render(). If you inherit from...
John West
johnpwest3
Offline Send Email
Oct 23, 2008
12:48 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help