Go Back

Creating a Contact Us form using a simple control in Sitefinity

Sitefinity does not include an email form control; however it easy to add a contact form by creating a simple user control. You can find a webcast at www.sitefinity.com on how to add a contact form.

Here is the info I pick up from the video:

The process of adding a custom contact form control to Sitefinity is simple. First you build the control in Visual studios, and then you upload the control.

Uploading the control is easy to do with in Sitefinity. Edit the page where you like to insert the control. There is an upload a control section in the right Add Controls sidebar.

  1. Click on “Upload a control” for the dialog popup box
  2. Enter the name for the new control. This name will appear in the control list in right sidebar.
  3. Enter the name of the group for the control to list under. If the name does not exist Sitefinity will create one for you.
  4. Select the ASCX file to upload, if there is code behind file Sitefinity will ask you to upload the second file.
  5. Fill in a description of control.

The new control is uploaded to a folder called UserControls. If for some reason your control does not work correctly or you updated the code, just upload the control again. Sitefinity will replace it.

Oh by the way, I am still working on my Contact Form.

  • Facebook
  • Twitter
  • DZone It!
  • Digg It!
  • StumbleUpon
  • Technorati
  • Del.icio.us
  • NewsVine
  • Reddit
  • Blinklist
  • Add diigo bookmark
Post a comment!
  1. Formatting options