How to Use CDATA in XML?
All text in an XML document will be parsed by the parser.
But text inside a CDATA section will be ignored by the parser.
XML parsers normally parse all the text in an XML document.
When an XML element is parsed, the text between the XML tags is also.
C# Code to implement Google Analytics Tracking Script dynamically
In general we track a page using JavaScript statically. This C# code is used to implement Google Analytics Tracking Script dynamically for every page we want to do it.
Source Code:
using System;
using System.Collections.Generic;
using System.Configuration;
using.
How to remove the trailing directory slash from the URL?
It's possible to configure Umbraco to remove the final trailing
slash on the URL. If you want to do this, locate the
'umbracoSettings.config' file. This can be found in the
'webroot\config\' directory of your site.
Open this file and locate the.
Wednesday, 6 August 2014
Posted by Jebastin
How to remove the .ASPX extension from the URL?
First of all, to configure Umbraco to show URL's without the .aspx
extension, you're going to need to locate the 'umbracoUseDirectoryUrls'
setting in the ' appSettings' section of the 'web.config' file for your
site.
<appSettings><add.
How to load AddThis dynamically with ajax?
On page load there is no issues with AddThis widget. But when the 'Share' button is binding via ajax, then the AddThis functionality will not work. To fix this solution, use the following script.
<script type="text/javascript"> .
How to Add Active Navigation Class Based on URL?
Ideally you output this class from the server side, but if you can't...
Let's say you have navigation like this:
HTML:
<nav>
<ul>
<li><a href="/">Home</a></li>
.
How to enable paste option in Windows Server 2008 to copy from local machine?
Restart rdpclip.exe in Server machin.