![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Fri, Feb 2 2018 8:41 AM | Permanent Link |
erickengelke | Hi,
I'm using TFileComboBox but want to limit searches to *.PDF files. This box under Elevate seems to default to *.* for the file match pattern. I haven't looked at the source code for this control... being lazy this time. But I figure other people would want that search capability too. Erick http://www.erickengelke.com |
Fri, Feb 2 2018 10:30 AM | Permanent Link |
Matthew Jones | erickengelke wrote:
> I'm using TFileComboBox but want to limit searches to *.PDF files. > This box under Elevate seems to default to *.* for the file match pattern. FWIW, if someone wants to dig into it, I did this recently in an ASP.NET application, and the key was adding the "accept" to the element in the DOM. This is what I added to get CSV and Excel files: <input id="definition-file" type="file" name="file" accept=".xls,.xlsx, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel, text/csv, text/plain, .csv, application/csv" /> I hope that helps someone... -- Matthew Jones |
Fri, Feb 2 2018 1:31 PM | Permanent Link |
erickengelke | "Matthew Jones" wrote:
erickengelke wrote: > I'm using TFileComboBox but want to limit searches to *.PDF files. > This box under Elevate seems to default to *.* for the file match pattern. >FWIW, if someone wants to dig into it, I did this recently in an ASP.NET application, and the key was adding the >"accept" to the element in the DOM. >This is what I added to get CSV and Excel files: > > <input id="definition-file" type="file" name="file" accept=".xls,.xlsx, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel, text/csv, text/plain, .csv, application/csv" /> > >I hope that helps someone... Thanks, you saved me time looking it up. I will hack it in for now, but I think it would be a nice feature for the future. Erick http://www.erickengelke.com |
Mon, Feb 5 2018 2:11 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Erick,
<, Thanks, you saved me time looking it up. I will hack it in for now, but I think it would be a nice feature for the future. >> I think it's already on the list, but I printed it out anyways, just to be sure. I'll be doing a new run through the component library after EWB 3 is out, and patching up all of these new attributes/features that were held back because of IE9 being the base reference browser for EWB. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, November 29, 2023 at 09:43 PM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |