Error!
Success!

By tag: Attributes

showing:  of
0
kicks

Saving server control properties to ViewState with custom attributes  (Unpublished)

Here's a little tip for using .NET custom attributes to make a server control's ViewState property into a single line of code. Save yourself some boring repetitive coding and make the language do the work instead.


Kicked By:
Drop Kicked By:
0
kicks

Extension Methods + Attributes = A Whole New World!  (Unpublished)

A post about combining attributes and extension methods in order to extend current code.


Kicked By:
Drop Kicked By:
0
kicks

Frictionless data persistence in Silverlight 2  (Unpublished)

This article will show you how to work with plain objects in Silverlight code, and use attributes to have those values automatically persisted in IsolatedStorage, or a compressed version of IsolatedStorage. You can also use this approach to define your own targets, all without writing any plumbing c...


Kicked By:
Drop Kicked By:
0
kicks

ASP.NET MVC Controller Action Precondition Filter  (Unpublished)

Here is code that will allow you to decorate your MVC Actions with attributes that will define your needed "preconditions". I often find the need to check for the existence of a parameter passed to a web page, such as an ID, and also often need to check if the ID is valid as well (e.g.:...


Kicked By:
Drop Kicked By:
0
kicks

Data Binding an Enum with Descriptions  (Unpublished)

Finally a SIMPLE, straight-forward, well thought out way to do DataBinding with an Enum.


Kicked By:
Drop Kicked By:
0
kicks

Have Fun Again With Custom Attributes (1)  (Unpublished)

If you think you know everything there is to know about custom attributes, read this article. I will show how PostSharp will let you to take your custom attributes to the next level. Learn how to encapsulate logging, performance, instrumentation, or field validation into custom attributes. And turn ...


Kicked By:
Drop Kicked By:
0
kicks

Using JQuery to Make Asp.Net Play Nice with Asp.Net  (Unpublished)

I have found that developing an Asp.Net application that makes heavy use of javascript is very difficult. One of the major pain points is dealing with the horrendously long ids that Asp.Net server controls generates. Here is how to overcome the difficulties with these Uber-long ids.


Kicked By:
Drop Kicked By:
0
kicks

Beware: Attributes.Add Calls HtmlAttributeEncode  (Unpublished)

Had some trouble today with *.Attributes.Add and using an ampersand &. The problem is Attributes.Add and here's what I found...


Kicked By:
Drop Kicked By: