P
Paul Dunstone
Hi group
I am trying to add a custom attribute to all .NET elements such as
textboxes, labels, datagrids etc. I want to add an attribute called
'key'. I already have the code working for the key attribute (it is
used to localise text within the element) but .NET reports that the
attribute is not valid.
Although the code works I would prefer not to get the warning each
time myself or one of the other coders use the key attribute. Is
there a way I can add the key attribute to all elements so that a
warning is not given?
Thanks for any help you can offer
Paul
I am trying to add a custom attribute to all .NET elements such as
textboxes, labels, datagrids etc. I want to add an attribute called
'key'. I already have the code working for the key attribute (it is
used to localise text within the element) but .NET reports that the
attribute is not valid.
Although the code works I would prefer not to get the warning each
time myself or one of the other coders use the key attribute. Is
there a way I can add the key attribute to all elements so that a
warning is not given?
Thanks for any help you can offer
Paul