UserControl - Adding description in designer

Discussion in 'ASP .Net Web Controls' started by Matt Adamson, Feb 16, 2007.

  1. Matt Adamson

    Matt Adamson Guest

    Does anyone know how to add a description to a property so it displays in
    the designer when you are editing the properties for a user control dragged
    onto an ASPNET page.

    I have tried the System.ComponentModel.Description and Title attributes with
    no success
     
    Matt Adamson, Feb 16, 2007
    #1
    1. Advertising

  2. On Feb 16, 11:10 am, "Matt Adamson" <>
    wrote:
    > Does anyone know how to add a description to a property so it displays in
    > the designer when you are editing the properties for a user control dragged
    > onto an ASPNET page.
    >
    > I have tried the System.ComponentModel.Description and Title attributes with
    > no success


    [Description("Mumbo, Jumbo")]
    public int X
    {
    get { return /*...*/ }
    set { /*...*/ }
    }

    ..t

    --
    http://ajaxwidgets.com
    ASP.NET 2.0 Ajax Widgets
     
    Thomas Hansen, Feb 17, 2007
    #2
    1. Advertising

  3. Matt Adamson

    Matt Adamson Guest

    Thanks however this doesnt work, see original post
    "Thomas Hansen" <> wrote in message
    news:...
    > On Feb 16, 11:10 am, "Matt Adamson" <>
    > wrote:
    >> Does anyone know how to add a description to a property so it displays in
    >> the designer when you are editing the properties for a user control
    >> dragged
    >> onto an ASPNET page.
    >>
    >> I have tried the System.ComponentModel.Description and Title attributes
    >> with
    >> no success

    >
    > [Description("Mumbo, Jumbo")]
    > public int X
    > {
    > get { return /*...*/ }
    > set { /*...*/ }
    > }
    >
    > .t
    >
    > --
    > http://ajaxwidgets.com
    > ASP.NET 2.0 Ajax Widgets
    >
     
    Matt Adamson, Feb 25, 2007
    #3
    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. S Guiboud
    Replies:
    1
    Views:
    423
    Ross Dempster
    Jul 18, 2003
  2. Steve B.
    Replies:
    4
    Views:
    1,002
    Cheryl D Wise
    Jun 1, 2007
  3. Adding description to method?

    , Apr 21, 2005, in forum: ASP .Net Building Controls
    Replies:
    5
    Views:
    169
    Steve C. Orr [MVP, MCSD]
    Apr 21, 2005
  4. Alexander Higgins
    Replies:
    3
    Views:
    1,111
    Teemu Keiski
    Jul 30, 2007
  5. Alexander Higgins
    Replies:
    0
    Views:
    470
    Alexander Higgins
    Jul 21, 2007
Loading...

Share This Page