J
John Mason
I am using VS 2003 and the accept parameter neither comes
up in intellisense nor restricts the file types. Is this a
bug?
This is how the form is defined -
<form id="frmBreaks" method="post" runat="server"
enctype="multipart/form-data">
This is how the control is defined -
<INPUT id="inpFile1" type="file" name="inpFile1"
runat="server">
If I try to add the 'accept' property I have to do it by
hand as intellisense doesn't include it. When I do, I get
a red wavy line and the error "'Could not find any
attribute 'accept' of element 'input'".
If I add the property programatically, it seems to be
accepted, but it still doesn't restrict file type.
Anyone got an idea?
TIA, John
up in intellisense nor restricts the file types. Is this a
bug?
This is how the form is defined -
<form id="frmBreaks" method="post" runat="server"
enctype="multipart/form-data">
This is how the control is defined -
<INPUT id="inpFile1" type="file" name="inpFile1"
runat="server">
If I try to add the 'accept' property I have to do it by
hand as intellisense doesn't include it. When I do, I get
a red wavy line and the error "'Could not find any
attribute 'accept' of element 'input'".
If I add the property programatically, it seems to be
accepted, but it still doesn't restrict file type.
Anyone got an idea?
TIA, John