Eilon Lipton's Blog
Technical blog on Microsoft ASP.NET (and AJAX and MVC).
-
Attributes to consider applying when writing a custom control
Almost every custom control has at least one additional public property, and that public property as well as the control itself should probably have at least a few attributes applied to them. Attributes tell the designer host (Visual Studio) or the parser (ASP.NET) interesting things about your control that might not be evident from just its name and its type. Launch any decent class browser tool and you'll see that every control that shipped in ASP.NET and ASP.NET AJAX has several attributes on it as well as their properties and events.
-
From the Suggestion Box: Reusing object instances with ObjectDataSource
From the suggestion box Marc Brooks asks:
-
How to instantiate templates (properly)
As part of my work on the ASP.NET team I've worked directly with several 3rd party control vendors and have spoken to hundreds of customers at conferences such as PDC and TechEd as well as presented on topics related to building controls and using ASP.NET in general. I've looked at the source code for literally hundreds of controls and although the controls are usually pretty darn cool, sometimes I spot some snippets code that just don't look right. That is, they don't look right to me. I'm sure they look right to whoever wrote them.
-
From the Suggestion Box: Why can't you use code expressions for properties?
From the suggestion box InfinitiesLoop asks:
-
Suggestion Box Now Open
I opened up a suggestion box so you can tell me what you want to hear about.
-
Suggestion Box
It's so hard to come up with blog topics that I've decided to outsource the whole idea creation operation. What topics do you want to hear about? As with most people, I prefer talking about my own area of expertise and not just random ramblings. Here are the general topics I'm familiar with:
-
Customizing the rendering of the UpdatePanel
Over the past few months I've received some feedback that there need to be more ways to customize the rendering of the UpdatePanel control. The response I gave was that we felt that using <div> and <span> would cover by far most scenarios. The one thing I would have loved to add to UpdatePanel is at least a CssClass property, but there are some workarounds to it, so we ended up not adding it.
-
ASP.NET AJAX JavaScript Class Browser (take 2)
Updated on 2//22/2007:
New version available here: ASP.NET AJAX JavaScript Class Browser (take 3) -
ASP.NET AJAX JavaScript Class Browser
Updated on 2//22/2007:
New version available here: ASP.NET AJAX JavaScript Class Browser (take 3) -
HOWTO: Write controls compatible with UpdatePanel without linking to the ASP.NET AJAX DLL
This is another repost from a post I made to the ASP.NET Forums: