Custom Attributes on ASP.NET 2.0 User Controls

Discussion in 'ASP .Net' started by =?Utf-8?B?bWF0cml4MTk3NQ==?=, Feb 13, 2006.

  1. 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.
    =?Utf-8?B?bWF0cml4MTk3NQ==?=, Feb 13, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Axel Dahmen
    Replies:
    1
    Views:
    471
    Teemu Keiski
    Nov 12, 2003
  2. Dag
    Replies:
    5
    Views:
    465
    David Jessee
    May 8, 2004
  3. Bob Rock
    Replies:
    1
    Views:
    614
    Cowboy \(Gregory A. Beamer\)
    Sep 17, 2006
  4. P4trykx
    Replies:
    2
    Views:
    1,787
    bruce barker
    Jan 31, 2007
  5. rodchar
    Replies:
    0
    Views:
    379
    rodchar
    Nov 26, 2007
Loading...

Share This Page