More in this section

Forums / Developing with Sitefinity / Working with simple control designers on SF 4.1 with sp1

Working with simple control designers on SF 4.1 with sp1

2 posts, 0 answered
  1. Ancuta Me
    Ancuta Me avatar
    43 posts
    26 Apr 2010
    19 May 2011
    Link to this post

    I am following this tutorial to create a control with a couple of friendly fields appearing when I hit edit.
    It was my understanding that I have to use a custom control and control designers for that but I never used it before and the above tutorial didn't make it very clear.

    I have setup a website and a couple of pages and I would like a control that manages news items.
    I would like to allow the admin user to select a news category and only show items from there.

    Do I have to create a class library project and write my code there?
    (That is how I started but I'm not able to add the ascx in step "Creating a template" of the tutorial).

    Thank you,
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    18 Sep 2017
    23 May 2011
    Link to this post
    Hi Ancuta,

    To create a control follow this tutorial. You write your code in the code behind of the web control, you add the .ascx file trough add new item --> web control as described in the link.

    Hope this information helps you

    Stanislav Velikov
    the Telerik 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
2 posts, 0 answered