Designer Serialization Problem

K

Khoi Pham

I've written a custom web control that exposes two panel controls as inner
properties. I can add content in html and then have everything render
correctly when I switch designer mode in visual studio. However, when I
switch back to Html view, the inner content is deleted entirely.

I've added the following attribute to the property but, this doesn't have
any affect..

[ DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]

Could anyone please provide insite?
Thanks,
-Khoi
 

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,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top