Some notes on software development... RSS 2.0
# Thursday, 01 May 2008

When I changed the ContentPlaceHolderID in the Master Page (and the content pages) and then tried to view and content pages in design mode I got the following error:

"The page has one or more <asp:Content> controls that do not correspond with <asp:ContentPlaceHolder> controls in the Master Page"


For some reason the Visual Studio 2008 web page designer mode does not like having XML shorthand notation of the <title /> tag in the <head> section in the master page.

So this causes the error:

Changing the <title /> to <title></title> fixes the problem:


Job done.

Thursday, 01 May 2008 13:43:40 (GMT Standard Time, UTC+00:00)  #    -
Web Dev
# Wednesday, 30 April 2008

Below are the parameter details for the (popup) JavaScript function:


The list details are taken from the Blazonry website.

Wednesday, 30 April 2008 10:10:32 (GMT Standard Time, UTC+00:00)  #    -
Web Dev
# Tuesday, 29 April 2008
Tuesday, 29 April 2008 07:52:49 (GMT Standard Time, UTC+00:00)  #    -
SQL Server
# Monday, 28 April 2008

Scott Gu has a nice article describing the null coalescing operator when used with LINQ queries.

A quick example:

The Qty & Size properties for the anonymous type will be defined as integer types NOT nullable integers. If any of the spec.Attribute("x") values are null or don't exist for any reason, the value returned will be a simple integer zero.
This is because using the null coalescing operator (??) is enforcing that null can never ever happen.

Scott Gu blog article

Monday, 28 April 2008 17:01:12 (GMT Standard Time, UTC+00:00)  #    -

Sign In
Total Posts: 116
This Year: 0
This Month: 0
This Week: 0
Comments: 36
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2019
Hadrian Phillips

All Content © 2019, Hadrian Phillips
DasBlog theme 'Business' created by Christoph De Baene (delarou)