Custom Module - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Custom Module

  • Custom Module
  • Hi,

    I want to create a custom module with OpenAccessDataProvider and all searching stuff and I want to ask about where can I get a good example of this ? 

    Next question is about OpenAccess, before creation of model class a I must create table in sitefinity database ? How can I start ?


  • Hello Mateusz,

    I suggest that you should take a look at our ProductsSample catalog that comes with the SDK installation. If you are going to create content based module your data classes can inherit from ContentDataProviderBase and override some of the item methods or implement your custom abstract methods. If this is a completely custom implementation you should create the entire logic for persisting and retrieving the item. You should implement interfaces for data provider decorators. You can take a look at Defining a Data Model ( you can check forward  mapping model and this short video)

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  • Hi Ivan,

    I want to start with build module like jobsintermediate, but with different form for data. I think this task is simple but I don't know how to implement and how create OpenAccess provider for saving data.

    If anyone can describe the steps to create a module with OpenAccess ?

  • Hi Ivan,

    I have a developed a custom module which has a field called ImageURL to store the url for an image in sitefinity. Now I need to display a thumbnail version of these images on the backend grid view. How do I do that?

  • Guys,

    Nevermind...I figuredout how to add an image column. Following is the code that goes in the ModuleDefinitions.cs.

    DataColumnElement imageColumn = new DataColumnElement(gridMode.ColumnsConfig)
                Name = "ImageURL",
                HeaderText = "",
                ClientTemplate = @"<img sys:src=""ImageURL+ '?size=75'"" />",
                //ClientTemplate = "<span>HeadShotImage</span>",
                HeaderCssClass = "sfRegular",
                ItemCssClass = "sfRegular",

  • Hello Duneel,

    Looks like you have figured out how create custom module which can talk to your own database.

    It will be really very helpful if you could explain the building a custom module which can talk to your own DB, in small steps ?

    Just a basic - like displaying the gridview in module which binds to your own SQL database table.

    Looking forward to hear from you.


  • Hello Duneel,

    In the help for RadControls for ASP.NET there are several sections that explains the basis of the RadGrid binding. I suggest that you should take a look at the articles listed below

    Ivan Dimitrov
    the Telerik team