One of my favorite features of the ASP.NET MVC Framework is the ability to include form validation out of the box using Attributes. Marking a Model with the Required attribute and including a few script references enables a built-in framework that validates your forms automatically. However, my ORM tool, SubSonic, by default doesn’t account for […]
Category: C#
IMPORTANT UPDATE FOR USERS OF SITEFINITY TOOLKIT 1.2 There is a compatibility issue between the Mobile Foundation library used for mobile detection and the Sitefinity Administration Login that could not be resolved. The Mobile Detection Module can still be used but the Mobile Foundation must be DISABLED in web.config by commenting out the related sections […]
One of the best features of Sitefinity is the Events Module. But while you can easily add and categorize events, and even show a nifty interactive map on the event detail page, there isn’t any built-in way to let your visitors add the event to their Outlook calendar. Fortunately, with the help of DDay.iCal Class […]
As a developer, one of the things I hate most about my job is when people call me to fix their login errors, especially when the problem is a forgotten password: Are you sure you remember your password? Yes. Are you sure you typed the password correctly? YES! Are you SURE? YES!! Do you have […]
If you need to ensure that the RadPanelBar control (which I use for sidebar navigation) remains expanded, check out the RadPanelbar1_ItemDataBound method in the control located at /Sitefinity/UserControls/Navigation35/SitePanelBar.ascx. This control checks the hideUrlForGroupPages, removing the link if set to true on your control. However, this doesn’t prevent the link from being active, collapsing the nodes […]
One of the recent features added to Sitefinity that I’ve recently begun making use of is the Viddler video integration. However, the module itself stands alone, and I was in need of a way to link the individual videos to specific news stories, and vice-versa. Fortunately, after spending some time with my favorite tool Reflector […]
While developing an online form, I came upon the need to insert two copies the results to a database, one for each of two options selected on the form. The only thing different between these entries would be this option, and of course, the autogenerated ID for the row’s primary key. While I could simply […]
NOTE: This post has been superceded by the Sitefinity Toolkit whcih contains a search provider for news, events, and generic content items. This post remains for reference only. Sitefinity has a very useful search-indexing feature that works pretty much out-of-the-box to index pages, blogs and news. Unfortunately, there doesn’t seem to be any built-in provider […]
After reading part 1 of this SiteFinity File Manager series, you should now have the file manager in Sitefinity’s RadEditor dialog set to load in a default folder. The only thing left is to restrict access to other folders. Additionally, we need to set the default upload folder for incoming files. FileManager Permissions By default, […]
One of the toughest roadblocks I’ve had to deal with while training and supporting users of sitefinity is the issue of uploading files and images through the editor. The default behavior is to start the user in the root of the site, allowing them access to all files and folders, possibly even granting them the […]