Working with simple control designers on SF 4.1 with sp1

Posted by Community Admin on 04-Aug-2018 08:55

Working with simple control designers on SF 4.1 with sp1

All Replies

Posted by Community Admin on 19-May-2011 00:00

Hi,

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,
Ancuta

Posted by Community Admin on 23-May-2011 00:00

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

Greetings,
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

This thread is closed