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

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

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 #3301 of 3315 |
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 10:27 am

azamat_kd
Offline Offline
Send Email Send Email

Forward
Message #3301 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