TwitterLinkedInBlog

Friday, August 6, 2010

Browser Web Development Tools

Internet Explorer 8 (ie8):
F12 -or- Alt > Tools > Developer Tools

Safari:
Alt >Edit > Preferences... > Advanced > Show Develop menu in menu bar.
Ctrl+Alt+I -or- Alt > Develop > Show Web Inspector.

Firefox:
Install Firebug (http://getfirebug.com/)
F12 -or- Alt > Tools > Firebug > Open Firebug

Friday, July 30, 2010

Telerik - Override Embedded WebResource.axd CSS

Required reading:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/css-from-telerik-web-ui-webresource-axd-is-overriding-css-for-custom-skin.aspx

In a nutshell (In case the link expires):
Increase the specificity for each class in the custom theme. This usually consists of a simple Find & Replace of .RadYourControl with div.RadYourControl.

Thursday, July 22, 2010

SP2010 PowerShell - Create a wiki library and set the default welcome page

SP2010 PowerShell - Create a wiki library and set the default welcome page

$web = get-spweb(http://myserver/sites/mysite)
$listTemplate = "WebPageLibrary"
$listDescription = "My Wiki"
$listName = "MyWiki"
$list_template = [System.Enum]::Parse([Microsoft.SharePoint.SPListTemplateType], $listTemplate)
$lists = $web.Lists
$lists.Add($listName, $listDescription, $list_Template)
$wiki = $web.GetList("/sites/mysite/" + $listName);
$rootFolder = $wiki.RootFolder
$rootFolder.WelcomePage = "MyHome.aspx"
$rootFolder.Update()

Wednesday, June 23, 2010

Windows Server 2008 - User Account Control

Start > Control Panel > User Accounts > User Accounts > Change User Account Control settings > Never notify > OK.

Thursday, June 17, 2010

Windows Server 2008 - Show thumbnails instead of icons

Start > Run > SystemPropertiesPerformance > Show thumbnails instead of icons > OK.

Wednesday, June 16, 2010

VS2010 - How to use the 'Go To Find Combo' to find a file in your Visual Studio Solution

How to add the Go To Find Combo if it is missing from the Standard Toolbar:

Visual Studio > Standard Toolbar > Standard Toolbar Options > Add or Remove Buttons > Customize... > Commands (tab) > Toolbars: Standard > Add Commands... > Categories: Edit, Go To Find Combo > OK > Move Down (Optional) > Close.

How to use the Go To Find Combo to find a file in your Visual Studio Solution:

Use the following pattern (Without single quotes):
'>of sampleFileName'

Wednesday, June 2, 2010

SP2007 - DisableLoopbackCheck

Win+R > regedit > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters > Edit > New > DWORD Value > DisableStrictNameChecking > Modify > 1 > OK > Alt+F4 > Restart

Win+R > regedit > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 > Edit > New > Multi-String Value > BackConnectionHostNames > Modify > (Enter each host header on a separate line. Examples include connect.contoso.com or devvm) > OK > Alt+F4 > Restart (Despite claims that you may simply restart IISAdmin Service)

Resources:
DisableLoopbackCheck & SharePoint: What every admin and developer should know.
Groundhog Day: Configuring Back Connection Host Names using Group Policy
DisableLoopbackCheck? Let's do it the right way
http://support.microsoft.com/kb/896861