Arrays as Control Properties

Discussion in 'ASP .Net Web Controls' started by Roman Puttkammer, Dec 8, 2003.

  1. Is there any way of using arrays (of primitive types or non-primitive types)
    as properties for controls? Both directly on the control or nested in other
    types?

    I tried everything from PropertyDescriptor, over TypeConverters to
    InstanceDescriptors. Now I'm looking at the CodeDomSerializer, but the
    respective attribute can only be set on types (classes & interfaces.)
    I cannot modify that attribute for built-in array types such as string[].

    I reason for what I'm doing is that I have business code that provides
    a wide range of query parameters and classes that group those. I would
    like to directly include those classes with the controls. However, being unable
    to modify the class definitions, I have to describe these serialization of these
    classes (and their nested properties) solely through TypeDescriptors.
    Many of these classes use arrays of primitive types.
    Roman Puttkammer, Dec 8, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nathan Sokalski
    Replies:
    0
    Views:
    889
    Nathan Sokalski
    Oct 17, 2005
  2. Max2006
    Replies:
    2
    Views:
    502
    Max2006
    Jul 13, 2007
  3. Adam M
    Replies:
    1
    Views:
    402
    Adam M
    Jan 23, 2008
  4. Philipp
    Replies:
    21
    Views:
    1,105
    Philipp
    Jan 20, 2009
  5. Nathan Sokalski
    Replies:
    0
    Views:
    199
    Nathan Sokalski
    Oct 17, 2005
Loading...

Share This Page