Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > How to serialize an extended property for a Webcontrol?

Reply
Thread Tools

How to serialize an extended property for a Webcontrol?

 
 
Stefaan V.
Guest
Posts: n/a
 
      10-07-2004
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(combined with default value)
but it doesnt work. When I
use similar code for Windows Forms it does work. Any ideas ?
Thanks in advance!
Stefaan

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
membership createuserwizard add extended property. guoqi zheng ASP .Net 2 06-02-2006 05:52 AM
How to NOT serialize a Property of a Class =?Utf-8?B?RWFybCBUZWlncm9i?= ASP .Net 3 10-05-2004 06:51 PM
Serialize Extended Properties in a web control Stefaan V. ASP .Net Web Controls 0 09-29-2004 02:37 PM
serialize to SQL Server Blob instead of XML serialize Gordz ASP .Net 3 06-07-2004 07:46 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57