How to set/change the SQL Server 2008 R2 sa’s password after installation?
In this article we will take a look at how to change SA Password in SQL Server
using TSQL code and by using SQL Server Management Studio. The steps mentioned
in this article are applicable to change any SQL Server Login Password works on
SQL Server.
Generic Handler to Unpublish Past Events in Umbraco
The following Generic Handler (C#) is used to unpublish the past/old Events automatically after it's expiration date in Umbraco.
Source Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
using.
Thursday, 7 August 2014
Posted by Jebastin
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"> .