I recently wasted several hours (not to mention fried brain cells) trying to figure out why a website was returning 404 errors for all the WebResource.axd requests.
Month: June 2012
One of the best features of Sitefinity is the inclusion of the fantastic ORM tool OpenAccess. However, one issue that can be a bit troublesome is the fact that Sitefinity has often shipped with a different version of OpenAccess that the latest. As a result, if you have the most recent OpenAccess installed, and try to build […]
If you are working with the Sitefinity Pages API you can easily retrieve the Id of any page in the system. You might also be working with a custom or intra-site module, which has a static Guid property for the landing page. The Page object itself only has a UrlName property, which returns only the […]
When adding controls to a Sitefinity page programmatically, by default it’s going to set restricted permissions so that only users in the Administrators role can view them. You can easily change this so that the widget is installed with the default permissions it would get by being dragged onto the page with the following code: […]
When working with Sitefinity Intra-Site Modules, all your module’s logic, code, and markup is contained in User Controls. This allows you to inherit all the styles from the default Sitefinity backend theme. However you might want to add additional styling to your admin controls. You can accomplish this easily by adding a custom stylesheet for […]
When developing a Sitefinity Intra-Site Module you’ll likely be creating public widgets that your users will be dropping onto pages. Rather than relying on your users to manually add them to the toolbox, you can register these controls yourself during module installation. Here is a demo code snippet that shows an example of how you […]