D
Doug
I have found plenty of examples of how to test for content type after
the user has clicked "Browse" when implementing the "File" object on an
ASPx page.
But I would like to limit the dropdown itself in the "Choose file"
dialog. The "Files of Type" dropdown always has "All Files (*.*),
Pictures (*.gif, *.jpg), HMTL (*.htm, *.html)" and nothing I do changes
that.
Thought it would be changing the aspx file to read something like this:
<INPUT id="File1" style="Z-INDEX: 103; LEFT: 8px; WIDTH: 536px;
POSITION: absolute; TOP: 45px; HEIGHT: 22px" type="file" size="70"
name="File1" accept="application/*" runat="server">
I added the 'accept="application/*" ' part.
Any ideas? Thanks.
the user has clicked "Browse" when implementing the "File" object on an
ASPx page.
But I would like to limit the dropdown itself in the "Choose file"
dialog. The "Files of Type" dropdown always has "All Files (*.*),
Pictures (*.gif, *.jpg), HMTL (*.htm, *.html)" and nothing I do changes
that.
Thought it would be changing the aspx file to read something like this:
<INPUT id="File1" style="Z-INDEX: 103; LEFT: 8px; WIDTH: 536px;
POSITION: absolute; TOP: 45px; HEIGHT: 22px" type="file" size="70"
name="File1" accept="application/*" runat="server">
I added the 'accept="application/*" ' part.
Any ideas? Thanks.