Web Control has no design interface..

J

Jay

I created a custom web control and added it to my toolbox is VS.Net. Now when I drag in onto a page in design view, it has no "interface" for lack of a better word. Instead of appearing as a grey box (or similar), it's just surrounded by the tiny box cluster (when a control is selected).

If I try to stretch it out to see it, all that changes is it's width. Ordinarily the control name and object name would appear, but now I have nothing. And to make it worse, if I ever click off of it, it's next to impossible to find again because it's invisible. The control's visiblity is set to visibly, so why does it disappear? Has anyone encountered this before?

Any help would be appreciated.

Thanks.
 
N

Nick Stansbury

Jay - you have to create a control designer.You can create a very simple one
to represent the control at run time or you can create really quite complex
ones too.

see: http://www.theserverside.net/discussions/thread.tss?thread_id=25105




Jay said:
I created a custom web control and added it to my toolbox is VS.Net. Now
when I drag in onto a page in design view, it has no "interface" for lack of
a better word. Instead of appearing as a grey box (or similar), it's just
surrounded by the tiny box cluster (when a control is selected).
If I try to stretch it out to see it, all that changes is it's width.
Ordinarily the control name and object name would appear, but now I have
nothing. And to make it worse, if I ever click off of it, it's next to
impossible to find again because it's invisible. The control's visiblity is
set to visibly, so why does it disappear? Has anyone encountered this
before?
 
J

Jay

Nick:

Thanks for the tip, I'll take a look and see if that will fix the problem. Although, it worked just fine before; which is why it seems very odd to me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top