Control Attributes

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hi,

At design time I am adding attributes to my controls (too detailed to get
into) with warnings (Warning 9 Validation (ASP.Net): Attribute 'ProductID'
is not a valid attribute of element 'CheckBox'). The application builds
fine and I can access the attributes at runtime. Should I be concerned
about these warnings or can I disregard them?

Thanks
 
Just disregard them. You can add any attributes and Visual Studio can't
validate them without your custom schema.
 
What do you mean "custom schema"?

Thanks

Eliyahu Goldin said:
Just disregard them. You can add any attributes and Visual Studio can't
validate them without your custom schema.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]


Tom said:
Hi,

At design time I am adding attributes to my controls (too detailed to get
into) with warnings (Warning 9 Validation (ASP.Net): Attribute
'ProductID' is not a valid attribute of element 'CheckBox'). The
application builds fine and I can access the attributes at runtime.
Should I be concerned about these warnings or can I disregard them?

Thanks
 
I just assume that there should be a way of describing your attributes and
introducing them to the Visual Studio Designer. I don't have any particular
information on this but I would be very surprised if it is not possible.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]


Tom said:
What do you mean "custom schema"?

Thanks

Eliyahu Goldin said:
Just disregard them. You can add any attributes and Visual Studio can't
validate them without your custom schema.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]


Tom said:
Hi,

At design time I am adding attributes to my controls (too detailed to
get into) with warnings (Warning 9 Validation (ASP.Net): Attribute
'ProductID' is not a valid attribute of element 'CheckBox'). The
application builds fine and I can access the attributes at runtime.
Should I be concerned about these warnings or can I disregard them?

Thanks
 
Back
Top