Random Site Controls for Sitefinity Installation Instructions - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Random Site Controls for Sitefinity Installation Instructions

  • Random Site Controls for Sitefinity Installation Instructions
  • Hey I'm brand new to Sitefinity and .NET so I don't know how to get the Random Site Controls Addon Installed on Sitefinity. It would be great to have a walk through of some sort that would let us know how to get this working. Could anyone provide some help?


  • Hi Richard,

    When you download the controls package, you can navigate to the folder called ResourcesToInclude, which has several files in it. There is a text file called: Installation Instructions.txt, which reads:

    Random Site Controls Installation Instructions
    1) Copy the RandomSiteControls.dll to your project
    2) Add in the Toolbox entries from the included ToolboxesConfig.config by either COPYING the entires into your own, or by adding them with the Sitefinity backend Settings UI at Settings->Advanced->Toolboxes->Toolboxes
    3) Add in the virtual path entry as seen in "VirtualPathSettingsConfig.config"...again by copying the entry into your own, or using the backend UI located at Settings->Advanced->VirtualPathSettings->Virtual paths->Create New
    4) Add this to the global.asax to register the section
        protected void Application_Start(object sender, EventArgs e)
                Telerik.Sitefinity.Abstractions.Bootstrapper.Initialized += new EventHandler<Telerik.Sitefinity.Data.ExecutedEventArgs>(Bootstrapper_Initialized);
            void Bootstrapper_Initialized(object sender, Telerik.Sitefinity.Data.ExecutedEventArgs e)
    5) Recompile your project, or recycle your App_Pool for the settings to take effect
    To see the Widget and layout custom icons check the Theme folder in the zip file for the image and CSS.  It's up to you where\how to load the CSS, and you might need to update the file to point to where you put the images too.
    Please see the included videos to understand how the widgets work...should be straight forward.

    All required files that the above file refers to can be found in the ResourcesToInclude folder.

    Victor Velev
    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
  • Hi Victor,

    When the instructions say "1) Copy the RandomSiteControls.dll to your project", what folder does this exactly go to?

  • Hey Guys, I'll come up with a video tonight and post to youtube, it's really quite easy :)

    So drop the dll into your bin folder, then reference it in visual studio (in your case)
  • That would be great Steve. Thank you so  much!

  • Were you able to create that video? That will be awesome Steve! 

  • Hey guys, sorry been busy...I have it uploading right now in dropbox, I'll publish to youtube shortly
  • Here we go: www.sitefinitysteve.com/downloads
  • Hey Richard,
    Did you download the 5.1.3450 version from the link above and use that instead of "the latest" :)
  • Awesome! Thanks Steve. I'm so glad you've put this together.

    Unfortunately for us It looks like we have version 5.1.3450.0 and when I try to run the application after following the steps up to the creation of the Global.ascx part it won't run. 

    What do I need to do to get it working? We are planning on moving to 5.2 here in a week or so. Should I wait until then to try the 5.2.3700 version that is in the folder?
  • Ah Brilliant. I didn't see that that was there. I've put it in and it seems to be loading up fine now with the 5.1.3450 files. Thanks! I'll let you know how I do with the rest of the process.

  • Ok so that video was critical. I wouldn't ever have figured all of that out, so thanks so much! 

    I'm able to add all of the different controls, but I'm having one issue that I think visitors to the site will get annoyed at. I have 3 different tabs - the amount of content within varies greatly and the tabs are down quite a ways on the page. When you click on the tabs, scroll down to see the content, and then click a different tab, it jumps the page back up almost to the top almost as if the page is reloading (though I know its not). I'm not sure what the problem is or how to stop it from jumping like it is. Any thoughts? 
  • Do you mind recording a Jing video and showing me what you mean...and\or providing a link to see it in action?
  • Sure. Here's a video of what's happening. Let me know if it doesn't make sense.