Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Control in Design View

Status
Not open for further replies.

rpeters74

Programmer
May 24, 2002
46
0
0
US
I have a custom control with 2 TextBoxes. When I drag the control onto a WebForm in Design View the control shows as a very small green arrow. I can expand the control by dragging one of the corners and the control snaps open and shows as I would expect it to show. As I toggle between HTML and Design view the control shows the same behavior (shows a small green arrow).

Any suggestions?
 
Answer my own question. Have to create a Designer class that inherits ControlDesigner and Override GetDesignTimeHtml() function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top