Setting up your work environment

Because you will create the NewsRotator control in Microsoft Visual Studio, open your Sitefinity application in Visual Studio.

To do this use the Sitefinity Project Manager in the following way:

  1. Open the Sitefinity Project Manager.
  2. Select the desired Sitefinity application.
  3. Click the Edit in Visual Studio button.
  4. Save the solution, which the Sitefinity project has been opened in by pressing CTRL+SHIFT+S or by selecting File » Save All from the menu. Choose a location and a name for the solution and click Save.

You can create the control either as user control or as custom control. The following table compares both scenarios:

Criterion User Control Custom Control
Ease of creation Easier to build, Visual Designer support Takes more time and experience to build
Deploying Not meant to be deployed across multiple websites Easier to deploy: consists of a single assembly
Interchangeable Templates No Yes
Design-Time Support No Yes

Related topics:

Feedback

How useful is this article?

Tell us more

Submit
Your message was successfully sent.

We appreciate your feedback.

Your message could not be sent.

OK