Custom Attributes on ASP.NET 2.0 User Controls

G

Guest

Hi everybody,

I'm migrating my ASP.NET 1.1 portal to 2.0. In my previous version I had
implemented a data binding framework for the presentation layer. Basically a
property of a Business Object was automatically mapped to a user control
using custom attributes. In my code behind page I had the following
implementation:

[DataBinding(typeof(Customer), "FirstName")]
protected TextBox txtFirstName;

Beside DataBinding I have also several more features that rely on custom
attributes.

Question: Is there a way in ASP.NET 2.0 to still make usage of custom
attributes on user controls?

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top