Serialize Extended Properties in a web control

S

Stefaan V.

Dear all,
I created a webcontrol that makes use of an extended property which I want
to serialize or dynamically add in the InitializeComponent method.
E.g. Suppose I created a Help Provider and dropped it on my webpage. This
controls adds an extra Help property to the web controls on the page.
Now I want that when I close the web page that the Help values I set for
each control to be serialized either as an attribute in the respective
control (e.g. <asp:Label id="lblX" help="Help me" > or something like
HelpProvider.SetHelp(lblX,"Help me") in InitializeComponent.
I already tried DesignerSerializationVisibility but it doesnt work. When I
use similar code for Windows Forms it does work. Any ideas ?
Thanks in advance!
Stefaan
 

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,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top