Click here to Skip to main content

Articles by Daniel Gidman (Articles: 3, Tip/Tricks: 5)

Articles: 3, Tip/Tricks: 5

RSS Feed

Average article rating: 4.92

Custom Controls

MVC Enum RadioButtonList Helper
Posted: 14 Jun 2012   Updated: 14 Jun 2012   Views: 7,952   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
An MVC Razor Helper to generate radio button lists from enums

.NET Framework

Serializable Extra Types for .NET 4
Posted: 25 May 2011   Updated: 25 May 2011   Views: 11,909   Rating: 4.85/5    Votes: 9   Popularity: 4.61
Licence: The GNU General Public License (GPLv3)      Bookmarked: 13   Downloaded: 237
Serialization for Rapid Application Development.
Serialization for Rapid Application Development: A Better Approach
Posted: 25 Apr 2008   Updated: 25 Apr 2008   Views: 20,411   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 196
Serialize and Deserialize your objects with ease and simplicity
No blogs have been submitted.

Average tips rating: 5.00

HTML / CSS

Remove blue border when image is inside the hyperlink [Tip/Trick]
Posted: 18 Aug 2011   Updated: 21 Aug 2011   Views: 1,120   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Use of a CSS reset stylesheet is recommended more than something like this one off. Normalize the CSS across browsers. In general, it is better to add borders as the exception than it is to remove them from elements. There are many good CSS reset stylesheets and some like from the YUI Library...

C#

Get rid of XmlInclude when using XmlSerializer [Tip/Trick]
Posted: 1 Aug 2011   Updated: 1 Aug 2011   Views: 839   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Serializable Extra Types for .NET 4[^]Does what you are looking for using attributes.
Passing Enum type as a parameter [Tip/Trick]
Posted: 24 Aug 2011   Updated: 24 Aug 2011   Views: 790   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I think the compile time force for a little enum enforcement would look something like this... (excuse the bad syntax, doing it from memory)private T GetPreviousEnum(this T currentlySelectedEnum) where T: structStackOverflow has a good question and answer in relation to it here.[^].

Programming Tips

Naming Properties in MVVM [Tip/Trick]
Posted: 20 Jul 2011   Updated: 20 Jul 2011   Views: 1,913   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
PropertyChange...
How to Toggle String Case in .NET [Tip/Trick]
Posted: 8 Dec 2011   Updated: 8 Dec 2011   Views: 947   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
A whole lot less code and a lot easier to do.public static string ToggleCase(this string str){ if (string.IsNullOrEmpty(str)) return str; return string.Join("", (from i in str select (char.IsLetter(i) ? ...

Daniel Gidman
Architect Stackify
United States United States
Member
No Biography provided


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 22 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid