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

Forums / Sitefinity SDK / Creating a Event in code

Creating a Event in code

3 posts, 1 answered
  1. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    16 Jun 2012
    Link to this post
    Does anyone have any sample code of a URL that gives an example of how to create an Event item (the content type, like a news, blog, event, etc...) through code? C# preferably.

    I see that I can get Sitefinity to tell me how to create a custom module item but not one of the built-in items... like an event...
  2. Mark
    Mark avatar
    147 posts
    Registered:
    01 Jun 2010
    16 Jun 2012
    Link to this post
    Telerik has done a pretty good job providing these type of examples in the Sitefinity Documentation. Here's creating an event:  http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules/events/creating-events
    Answered
  3. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    17 Jun 2012
    Link to this post
    Perfect! Thanks Mark. I kept googling that and all I got was a bunch of pages about event handlers in Sitefinity.

    Worked like a charm
3 posts, 1 answered