by Dan Matthews
19. December 2007 10:52
When building a left-hand navigation control using a Web.Sitemap file and the default .NET2 sitemap provider, I hit an annoying snag. I wanted my navigation to look like this:
Home
- Welcome
- News
- About
In terms of pages, it would look like this:
Home.aspx
- Welcome.aspx
- News.aspx
- About.aspx
So far so easy. I just wrote a simple routine in the Page.Load of my master page that gets SiteMap.CurrentNode and then iterates back to the root node, rendering the menu as it goes via a repeater:
if(SiteMap.CurrentNode != null)
{
SiteMapNode tempNode = Si...
[More]
65feab4c-cf52-4aff-af89-31e8ab12a9e4|0|.0
Tags:
.NET/C#
by Dominic Zukiewicz
18. December 2007 14:13
Enumerations are great when something can only be a set of fixed values - normally ints.
Another good reason, is when you do a .ToString(), you actually get the variable NAME! Brilliant!
But ..... what if you wanted to keep your variable names, but you wanted to add an additional description to improve the understanding of it? I'll give an example.
In some legacy systems, variables are named very cryptically, well compared to the OO languages because of the limit of characters for variable names, or because developers wanted some short hand method to access them, if you were an expert...
[More]
0e08e94e-c424-4d82-a289-00db622a0a08|0|.0
Tags:
by Dominic Zukiewicz
14. December 2007 14:59
I was going through the Microsoft BizTalk 2004 Unleashed book and came across an error when adding the pipelines.
Here were my steps:
Manually type an XML document
Use VS2005 to create a schema
Open the schema in VS BizTalk
Tried to compile:
Node "<Schema>" - Schema reference "" is not a valid reference or does not exist in the current project.
I continued on, create a pipeline and added a XML disassembler to it. When I clicked on the Document schemas property, the error "Key cannot be null, Parameter name: key". This error popped up on many other options.
...
[More]
e52d45bd-246f-411b-accf-42431aeba8c6|0|.0
Tags:
by Brad
14. December 2007 11:14
I've been using EPiServer's built-in subscription functionality on a few 4.61 projects with no problems... when i tried it on my first version 5 one i had a few issues - namely the subject and read more links were in Swedish and i couldn't set the mail from address... Here's how i fixed them:
Swedish Text - Default language was set to Swedish (based on the demo content added at install time i think) - thanks EPiServer support for helping me with this.
"From" Email Address (and the "Read More", email "body text" etc) In 4.61 these were set on the Subscription page type, in version...
[More]
a320b157-add3-4d35-bd0d-7249c04b9125|0|.0
Tags:
C# | EPiServer
by Brad
12. December 2007 11:00
If, like me you've developed an EPiServer site using their new Visual Studio 2005 Project you may have become frustrated when coming to install it on your Live server using EPiServer Manager. For those of you that haven't, i'm referring to the bit of the install where it asks you which Module you want to install. Module? What's a Module? If you don't select one you need to install the demo site - which no one wants to do when they've just spent time creating their real site in a development environment.
After a bit of digging (i couldn't find any info on EPiServer's site) i worked out that...
[More]
c6dc8557-da99-4dd5-a229-e5ab7e227e35|0|.0
Tags:
C# | EPiServer
by Brad
7. December 2007 14:16
I've recently created an EPiServer 5 project in Visual Studio, then came to deploy it to IIS and experienced none of my uploaded images (and documents) being displayed. At first i thought i'd got my Virtual Path Provider (VPP) settings wrong in the Web.Config. However i double checked and they were fine - i also was able to upload new images/documents so the path (and permissions) were fine.
I realised it must have been a problem with IIS serving the images, so after comparing the EPiServer Demo site's IIS properties i discovered the solution - i needed to enable a wildcard mapping for aspn...
[More]
a3960f9f-d924-4919-998b-a3434840105d|0|.0
Tags:
C# | EPiServer
by Dan Matthews
5. December 2007 12:32
I've been having fun with fixing my dodgy wireless connection and have blogged a (hopefully!) useful article on diagnosis and fix.
You can read my article here.
b4b00633-6a92-435b-86c4-5effc259041d|0|.0
Tags:
by Brad
4. December 2007 10:57
I've recently had problems trying to upload multiple files to the file management console in EPiServer 5 CMS. The item in the context menu was disabled and drag and drop wouldn't work either. It turned out the user account i was using didn't have permission to drag/drop. Once i'd added it, via Admin > Permissions for functions.
c7b7a8f0-980a-47fe-8c00-4fb857cad1f3|0|.0
Tags:
EPiServer
by Dan Matthews
3. December 2007 09:34
I had an old Socket-A Sempron 2200+ in my box, and decided to see what it could do with a stock cooler (it was a retail model with AMD hsink/fan). It's the 333MHz FSB model and I have 1.5Gb of 333MHz 'crucial' RAM. It's got a locked multiplier - 9x - so the effective speed is 1494MHz. I was sure that it could do better than that, so I started ramping up the FSB in 2-MHz incremements. It took all I threw at it and the temp. upped from around 52 degrees idle to around 56-58. Deciding just to go for it I pumped up the FSB to 200 (400) and sat back to see if the CPU and RAM could take it.
And it ...
[More]
12811c6c-be10-4e22-a655-24c147964f01|0|.0
Tags: