textbox size elemnt

  • Thread starter Thread starter steve sumo via .NET 247
  • Start date Start date
S

steve sumo via .NET 247

whenever I put a size element on a textbox "<input type="text" size="10"> visual studio advises me there is not size element of type text box? Im pretty sure there is and it will work but was curious why VS keeps throwing this as an exception?

cheers
 
Hi,

VS does the HTML view Intellisense check by using built-in schemas.
According to those schemas it should understand the size attribute on INPUT
element. Can you show the complete source of the page (I'm especially
interested in the stuff within on HEAD as that tells what schema VS tries to
apply)

Like you said, it won't prevent it from working but is bit irritating.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke




steve sumo via .NET 247 said:
whenever I put a size element on a textbox "<input type="text" size="10">
visual studio advises me there is not size element of type text box? Im
pretty sure there is and it will work but was curious why VS keeps throwing
this as an exception?
 
Back
Top