Control Attributes

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
 
E

Eliyahu Goldin

Just disregard them. You can add any attributes and Visual Studio can't
validate them without your custom schema.
 
T

Tom

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
 
E

Eliyahu Goldin

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,249
Latest member
KattieCort

Latest Threads

Top