Research & Development for 3D & the Web

Importing ASCX Controls in ASP.NET

by on Apr.06, 2012, under Web Programming

Just a very quick one on how this is done in ASP.NET. Firstly, the difference between an ".aspx" and an ".ascx" file. An ".aspx" (Active Server Page Extended) file is a source code file for a webpage (often called a “webform”) written in ASP.NET. These pages can contain HTML tags and as such can be read by your browser which an ASCX file cannot. An ".ascx" file or a 'Web User control' in ASP.NET ends with the extension .ascx. They can be used in an ASP.NET page by registering them Read more [...]
Leave a Comment :ASP.NET more...

Displaying ASPX files and .LESS in Orchard CMS

by on Feb.29, 2012, under Orchard

Add this web.config file into the directory to get both .less and regular .aspx files to be displayed in the Orchard CMS. xml version="1.0" encoding="UTF-8"?> <configuration> <appSettings> <add key="webpages:Enabled" value="false" /> </appSettings> <system.web> <httpHandlers> <add type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false" path="*.LESS" verb="*" /> <add path="*" verb="*" type="System.Web.StaticFileHandler" /> <add Read more [...]
Leave a Comment :ASPX, CMS, Orchard more...

Learning jQuery – Lesson 1 Notes

by on Feb.23, 2012, under JQuery

Decided to learn JQuery the old fashioned way by doing lessons from a text book called "Learning jQuery, Third Edition". Here are my notes from first lesson: You need to download and place the latest jQuery source into your site root somewhere. You can get this latest jQuery file from the website here. You need to reference this in the head of your page along with your style sheet etc as per normal. An example might be: <head> <meta charset="utf-8"> <title>Your Title Read more [...]
Leave a Comment :code, jQuery more...

Removing /en/ language option from Sitecore URLs

by on Jan.30, 2012, under Sitecore

Open the web.config file and find the following:

‘languageEmbedding’ – set it to ‘never’. By default it seems to be set to ‘asNeeded’. Do this like so:

languageEmbedding=”never”

That’s it. No more annoying duplicate page entries in your Google Analytics and things like that.

Leave a Comment more...

Excluding Sitecore items from Search Results

by on Jan.27, 2012, under Sitecore

Excluding Sitecore items from your search results in Sitecore using Lucene Lets say you want to exclude a particular item from being displayed in your search results when searching in your Sitecore site. This can be done by adding a couple of lines to your web.config file. Do a search for: "Sitecore.Search.Crawlers.DatabaseCrawler, Sitecore.Kernel" It's possible to add templates or IDs of  items of which should be included to the index or excluded from it. Lets say you want to exclude all Read more [...]
Leave a Comment :index, Lucene, searching, Sitecore more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Log In