More in this section

Forums / Developing with Sitefinity / Programmatci access to generic content

Programmatci access to generic content

4 posts, 0 answered
  1. Krishna
    Krishna avatar
    8 posts
    Registered:
    05 Sep 2008
    05 Sep 2008
    Link to this post
    How can I programmatically  access the generic content added to the pages?
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    05 Sep 2008
    Link to this post
    Hi Krishna,

    Please refer to the following Developer Manual articles:
    I hope you find this information helpful. Let us know if you have any other questions.

    Regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Krishna
    Krishna avatar
    8 posts
    Registered:
    05 Sep 2008
    09 Sep 2008
    Link to this post
    Hi Georgi,

    Thank you for the reply.  Here is my scenario:

    I have a master page called Projects with a content place holder called HiddenContent. I'm adding generic content to the HiddenConent section on every page that is using the Projects template. I want to read this content from all the pages and bind it to a gridview in an external page. Could you please suggest me some solution for this

    Thanks

    Krishna
  4. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    12 Sep 2008
    Link to this post
    Hi Krishna,

    seems we haven't understood you correctly the first time. In order to find controls on the pages you can use CmsManager and it's GetControls method. You can find more about CmsManager and finding controls on this page:
    http://www.sitefinity.com/help/developer-manual/controls-get.html

    I hope you'll find this information helpful. Let us know if there is anything else we can do for you.

    Regards,
    Ivan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered