Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > StringCollectionEditor in Designer

Reply
Thread Tools

StringCollectionEditor in Designer

 
 
Grafix
Guest
Posts: n/a
 
      01-05-2004
All,
I have a ASP .NET server control, that has a string[]
property in it. Though i am able to edit this property
with the VS .NET's string collection editor, the altered
values are not getting persisted properly.

I tried giving PeristenceMode.InnerProperty and
DesignerSerializationVisibility also. But it doesnt work.

My Question is as follows:
How to provide Designer support for a server control, that
has a string[] (string array) as a property in it.

Ex:
public class MyControl : ....
{
private string[] _mycolln;

//[PersistenceMode(PeristenceMode.InnerProperty]
public string[] MyColln
{
get { return this._mycolln; }
set { this._mycolln = value; }
}
}

The values, when edited in the VS .NET editor, should
reflect the changes in the HTML code. (which is not
happening!). Should i need to do any thing additional
overrides while Loading / Saving state for this to work???

If it matters, development environment is VS .NET 2003
(.NET FW 1.1)

Thanks in advance
Regardz
Grafix.

 
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
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Building Controls 3 07-30-2007 09:09 PM
Designer Property Serialization -- Sycning inner properties to designer property window Alexander Higgins ASP .Net Web Controls 0 07-21-2007 12:58 AM
Sharepoint Designer/ Expression Web Designer : adding item in toolbox ? Steve B. ASP .Net 4 06-01-2007 04:29 AM
Will Microsoft provide a .NET MMC designer like that for VB6? =?Utf-8?B?eno=?= ASP .Net 2 08-09-2004 03:29 AM
Menu Designer Ruslan ASP .Net 2 09-11-2003 11:30 AM



Advertisments