Adding action buttons to my control's design-time properties page

Discussion in 'ASP .Net Building Controls' started by object01@gmail.com, Jan 9, 2006.

  1. Guest

    I've seen controls like the DataAdapter provide clickable hyperlinks
    (well, maybe not hyperlinks, but blue underlined text) in the
    description panel of its Properties page. I'm building a subclass of
    an ASP.NET Image control, and would like a button in its Properties
    page labeled "Fit." When clicked, this button would cause all the
    control's properties (x, y, scale, etc.) to be set such that the image
    is fit within the control's width and height.

    I can't figure out how to call a method from within the designer, nor
    how to add such a clickable "thing" to the Properties page, but I know
    it can be done, right? I just don't know what to look for.

    --
    Jeff S.
     
    , Jan 9, 2006
    #1
    1. Advertising

  2. Guest

    , Jan 9, 2006
    #2
    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. =?Utf-8?B?QW1pciBUb2hpZGk=?=

    Displaying user control properties at Design Time

    =?Utf-8?B?QW1pciBUb2hpZGk=?=, Jun 25, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    399
    =?Utf-8?B?QW1pciBUb2hpZGk=?=
    Jun 25, 2007
  2. John
    Replies:
    0
    Views:
    983
  3. Peter

    properties not showing in properties window at design time

    Peter, Dec 10, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    229
    Lostinet.Web Support
    Dec 10, 2003
  4. George
    Replies:
    4
    Views:
    200
    Jeffrey Tan[MSFT]
    Jan 19, 2004
  5. cpnet

    Persisting control properties at design time

    cpnet, Apr 19, 2004, in forum: ASP .Net Building Controls
    Replies:
    15
    Views:
    300
    Jeffrey Tan[MSFT]
    May 10, 2004
Loading...

Share This Page