Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > ControlDesigner Question

Reply
Thread Tools

ControlDesigner Question

 
 
JimM
Guest
Posts: n/a
 
      01-22-2004
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 ---



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET ControlDesigner & smart tags cruster ASP .Net 0 04-29-2007 12:00 AM
ControlDesigner does not "repaint" control when properties are changed Vincent Scheel ASP .Net 0 03-20-2006 07:21 AM
How to get parent/controldesigner of STANDARD webcontrol =?Utf-8?B?S0NT?= ASP .Net 0 09-21-2005 11:05 PM
ControlDesigner Question JimM ASP .Net Building Controls 1 01-24-2004 04:25 AM
System.Web.UI.Design.ControlDesigner never calls GetErrorDesignTimeHtml on Exceptions John Saunders ASP .Net Building Controls 3 08-05-2003 02:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57