Making Custom Server control visible at design time...

C

Charlie@CBFC

Hi:

When I drag a my custom server control from the toolbox to design surface it
appears invisible except for little green arrow. I can change the width and
fill color of control in prop sheet so I can see it at design time, but this
interferes with its rendering at runtime. I have seen custom server
controls that appear like this at design time... [SomeControlClass
"SomeControlName"]. How do you get it to do this?

Thanks,
Charlie
 
C

Charlie@CBFC

That's cool! Thanks.

Charlie
Kevin Spencer said:
You create a Custom Designer for it. See:

http://msdn.microsoft.com/library/d.../cpguide/html/cpcondesign-timeforwebforms.asp

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.

Charlie@CBFC said:
Hi:

When I drag a my custom server control from the toolbox to design surface
it
appears invisible except for little green arrow. I can change the width
and
fill color of control in prop sheet so I can see it at design time, but
this
interferes with its rendering at runtime. I have seen custom server
controls that appear like this at design time... [SomeControlClass
"SomeControlName"]. How do you get it to do this?

Thanks,
Charlie
 

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

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top