Browse by Tags

All Tags » compilation (RSS)

How to Allow Generic Controls in ASP.NET Pages

Did you ever want to have a Repeater<Customer> control on your page? And its events were all strongly typed to recognize that each row was bound to a Customer object? Well, I came up with a way of doing it using some lesser known features of ASP...
Posted by Eilon | 18 comment(s)
Filed under: , ,

How ASP.NET databinding deals with Eval() and Bind() statements

A recent question on one of our internal mailing lists asked where the definition for the Bind() method is located in ASP.NET. The asker had located the definition of the Eval() method on the TemplateControl class, but the Bind() method was nowhere to...
Posted by Eilon | 17 comment(s)

Changing the request culture for globalization and localization

In ASP.NET 2.0 we added several new features to make globalizing and localizing an application easier than ever before. One of the coolest features is the ability to declaratively localize entire controls as well as individual properties of controls....
Posted by Eilon | 4 comment(s)

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...
Posted by Eilon | 8 comment(s)

From the Suggestion Box: Why can't you use code expressions for properties?

From the suggestion box InfinitiesLoop asks: "How about, why can't you use code expressions inline with server controls? You can obviously with the DataBinding expression <%# code %>, but you can't simply say <%= code %>. Using...
Posted by Eilon | 7 comment(s)
More Posts