DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 637 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'TypeConverter' Subscribe to this feed
1
kicks
submitted by crpietschmann crpietschmann 5 months, 12 days ago

winterdom.com — This should've been simple, but it took me a far longer time than I expected to get working correctly. Getting the basic design time work done wasn't too much of a problem; since the property type was an array and not a custom collection, the default editors did the right thing and offered a good design time experience out of the box. However, you still need to provide the designers and ASP.NET a way to store the property contents as an string, so that you can use markup to specify the value of the property. Time to write a TypeConverter! I went ahead and wrote a simple TypeConverter that would take a string and return an array of structs based on its contents, or take an array and return a string based on the values in it. Nothing fancy. read more...

Add a comment add a comment | category: | Views: 9
tags: , , | tag it

18
kicks
published 11 months, 23 days ago, submitted by AmrElsehemy AmrElsehemy 11 months, 23 days ago

amrelsehemy.net — This post shows how to implement a custom TypeConverter for Enums and how to use the SupportedValues to show a custom values list . read more...

Add a comment add a comment | category: | Views: 5
tags: , , , , | tag it

4
kicks
submitted by crpietschmann crpietschmann 1 year, 6 months ago

pietschsoft.com — When creating an ASP.NET Extender Control (using ASP.NET AJAX and the AJAX Toolkit) you can add custom properties to your Extender (using the ExtenderControlProperty attribute) that get passed down to the client. Well, this is really cool and all, but you are restricted to using the “standard” variable types (string, int, bool, etc.); unless of course you want to create your own custom TypeConverter to convert your custom objects to JSON. read more...

Add a comment add a comment | category: | Views: 1
tags: , , , , | tag it

4
kicks
submitted by visualhint 1 year, 11 months ago

visualhint.com — Here is a preview of what value validation will look like in Smart PropertyGrid.Net. It merges a reworked validation engine (validation will be done against TypeConverters and custom validator classes) and a new compatibility with the free VisualTips product. read more...

Add a comment add a comment | category: | Views: 84
tags: , , , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge