More in this section

Forums / Developing with Sitefinity / Module Builder Code reference

Module Builder Code reference

3 posts, 1 answered
  1. Gema
    Gema avatar
    46 posts
    Registered:
    02 Oct 2009
    29 Dec 2011
    Link to this post
    Hi,
    I'm trying to develop a user control using the code reference generated in a module created thru the new module builder.
    This code uses DynamicContent object. And it accesses to data by the method SetValue.
    I'm referencing all necesary namespaces from sitefinity 4.4, but the object DynamicContent doesn´t have SetValue method.

    How can I write and read the fields of a dynamicContent item?
  2. Dimitar Dimitrov
    Dimitar Dimitrov avatar
    35 posts
    Registered:
    19 Jun 2017
    29 Dec 2011
    Link to this post
    Hi Gema,

    Would you please send me the namespaces, that you are including, because I am using the ones from the code reference example, placed on the bottom and it works fine for me.

    Greetings,
    Dimitar Dimitrov
    Sitefinity team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Gema
    Gema avatar
    46 posts
    Registered:
    02 Oct 2009
    29 Dec 2011
    Link to this post
    Sorry,
    I was missing a namespace
    Thanks for your support.
3 posts, 1 answered