ControlDesigner Question

Discussion in 'ASP .Net Web Controls' started by JimM, Jan 22, 2004.

  1. JimM

    JimM Guest

    I'm deriving a Designer from ControlDesigner. The control is working pretty
    nicely now.

    What I'd like to add is a verb response that will put the control into an
    interactive design mode (where some of the properties can be modified a bit
    more elegantly than with the Properties window.

    I'm currently adding a Panel with three TextBox controls to the Custom
    Control from within the Designer (right now it's added in Initialize, but I
    get the same results adding it in GetDesignTimeHTML: the textboxes get
    rendered on my control at design time, but I cannot interact with them (they
    won't accept focus or typing). Obviously the design environment disables
    that stuff.

    I could pop up a WinForms window to do the edits but I'd rather do it inline
    within the contents of the custom control itself (similar to the way you can
    edit templates in the DataList control.

    How can I modify the base ControlDesigner to add a few server controls at
    design-time that can be interacted with at design time? Any ideas?? Thx.

    --- Jim ---
     
    JimM, Jan 22, 2004
    #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. =?Utf-8?B?S0NT?=
    Replies:
    0
    Views:
    484
    =?Utf-8?B?S0NT?=
    Sep 22, 2005
  2. Vincent Scheel
    Replies:
    0
    Views:
    428
    Vincent Scheel
    Mar 20, 2006
  3. cruster

    ASP.NET ControlDesigner & smart tags

    cruster, Apr 29, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    432
    cruster
    Apr 29, 2007
  4. John Saunders
    Replies:
    3
    Views:
    193
    Victor Garcia Aprea [MVP]
    Aug 5, 2003
  5. JimM

    ControlDesigner Question

    JimM, Jan 21, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    136
    Victor Garcia Aprea [MVP]
    Jan 24, 2004
Loading...

Share This Page