I am trying to work on an already live Asp.Net/Web Forms project.
It all compiles fine in visual studio but when I run a particular page under my local IIS I get
'number' is not a valid type for an input tag.
on this line of html:
<input type="number" ID="txtNum" runat="server" class="txt" step='0.01'
value='0.00' placeholder='0.00' min="0" />
There are a lot of people complaining of the same problem but the only solutions I am seeing is to update the code or HTML which is something I can't do as this works on the live server and on another developers machine.
UPDATE (based on suggested duplicate)
I have already looked at this question:
How can I use HTML5 email input type with server-side .NET
It suggests installing an update to .net 4 http://support.microsoft.com/kb/2468871. I think this machine was installed after 2011 anyway but either way the updates wont install it says:
KB2468871v2 does not apply, or is blocked by another condition on your computer.
I dont know if this means the updates already installed or not??
The other answers suggest code/html changes which I am unable to do as this is already working elsewhere.
What am I missing on my machine?