+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / CmsPage not available anymore in telerik.cms

CmsPage not available anymore in telerik.cms

3 posts, 0 answered
  1. Luc Baeten
    Luc Baeten avatar
    169 posts
    Registered:
    23 Sep 2005
    01 May 2007
    Link to this post
    Hello

    I developed my own objects and used the classes CmsPage and CmsWebControl.
    With the new telerik.cms.dll in RC2 those classes are not available anymore? With the telerik.cms.dll in RC1 they were available.

    What should I do?

    Regards
    Luc
  2. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    02 May 2007
    Link to this post
    Hi Luc Baeten,

    The CmsPage and CmsWebControl classes as well as the other cms database layer classes were moved to the Telerik.Cms.Data assembly. So you should add reference to it.

    Kind regards,
    Vassil Daskalov
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    02 May 2007
    Link to this post
    Hello Luc Baeten,

    Sorry for not  mentioning earlier that we do not recommend using these classes. Use the interfaces and the CmsManager class located in Telerik.Cms. For example, if you want to get reference to some page, you should use the ICmsPage interface and the GetPage() method in the CmsManager. The data classes were moved to another location due to problems in medium trust.

    Best wishes,
    Vassil Daskalov
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
3 posts, 0 answered