|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Set file extensions for FileUploadHi;
Is there a way to set the extensions in the "Files of Type" for the FileOpen dialog for the FileUpload control? Hi Dave,
Thank you for posting. As for the web page's file upload html element, it doesn't support such file extension filter as the windows form file select dialog. So far for file extension checking, we may need to use client-script to manually validate the file path through the input file element's onchange client side event. Regards, Steven Cheng Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.) ok - thanks. I didn't want it for validation, just so only the relevant files
were displayed in the FileOpen dialog. Show quoteHide quote "Steven Cheng[MSFT]" wrote: > Hi Dave, > > Thank you for posting. > > As for the web page's file upload html element, it doesn't support such > file extension filter as the windows form file select dialog. So far for > file extension checking, we may need to use client-script to manually > validate the file path through the input file element's onchange client > side event. > > Regards, > > Steven Cheng > Microsoft Online Community Support > > > ================================================== > > When responding to posts, please "Reply to Group" via your newsreader so > that others may learn and benefit from your issue. > > ================================================== > > > This posting is provided "AS IS" with no warranties, and confers no rights. > > > > Get Secure! www.microsoft.com/security > (This posting is provided "AS IS", with no warranties, and confers no > rights.) > > > > Thanks for the followup.
Then, we could only use the current behavior so far. Regards, Steven Cheng Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Push Button Event in datagrid
Web Standards Compliance - Autopostback / Javascript off FileUpload, Wizard, and saving the data delete rows in dataset Custom Web Control and Default Height/Width Dynamic Menu Control in ASP.NET2 User Control question - REPOSTED "Unable to open the physical file" error html controls with same ID Creating Dynamic FormView Templates |
|||||||||||||||||||||||