Dec 13, 2012, 1:26 PM
[CLOSED] Custom attribute on all controls
Hi guys,
I'm wondering if there is any plan of adding a custom attribute to all controls, e.g. "customAttr", that we can populate with anything value we want. I know we have custom configs but the ability to have an attribute of say:
Obviously in ASP.NET you can add as many attributes you want to a control without it throwing an exception, but we can't do this in Ext.NET. It seems it would be an easy thing to implement by adding a string property on the "abstractcomponent" (I think it's this class) in the codebase or will wil have to do this ourselves?
Your thoughts on this would be much appreciated.
Kev
I'm wondering if there is any plan of adding a custom attribute to all controls, e.g. "customAttr", that we can populate with anything value we want. I know we have custom configs but the ability to have an attribute of say:
<ext:Column runat="server" customAttr="myvalue" Text="Property" DataIndex="PropertyDescription" Flex="2">
would be very beneficial without having to declare a custom config. And if we could comma separate values and a string array get returned would be even better. Obviously in ASP.NET you can add as many attributes you want to a control without it throwing an exception, but we can't do this in Ext.NET. It seems it would be an easy thing to implement by adding a string property on the "abstractcomponent" (I think it's this class) in the codebase or will wil have to do this ourselves?
Your thoughts on this would be much appreciated.
Kev
Last edited by Daniil; Dec 18, 2012 at 11:22 AM.
Reason: [CLOSED]