[CLOSED] ConfigOption attribute

  1. #1

    [CLOSED] ConfigOption attribute

    HI,

    I am trying to add custom properties to some of my custom control classes and I know that you can override the ConfigOptionsCollection build

    but on some of the existing source code, i see that you did not do that, but rather used a Config Option attribute for the custom property

    How does this work and what is the best practice when doing custom properties for custom controls

    Thanks
    Last edited by Daniil; Nov 16, 2013 at 10:56 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Generally, using ConfigOptionsCollection is better in custom control. Does it cause some problems?
  3. #3
    A ConfigOption attribute is used by our own parser. That parser creates the ConfigOptions property as needed. Just to automatize the process. So, the ConfigOption attribute works in the Ext.NET project only. In your case you should override it manually.

Similar Threads

  1. [CLOSED] EmailValidation attribute
    By jpadgett in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 14, 2013, 3:38 PM
  2. [1.0] ConfigOption not working for Plugin
    By rayg in forum 1.x Help
    Replies: 1
    Last Post: Apr 02, 2010, 7:11 PM
  3. Replies: 2
    Last Post: Dec 17, 2009, 2:32 PM
  4. [CLOSED] [1.0] ConfigOption changes
    By jchau in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 25, 2009, 1:18 PM
  5. [1.0] layouts attribute
    By [WP]joju in forum 1.x Help
    Replies: 2
    Last Post: Nov 12, 2009, 1:41 AM

Posting Permissions