cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I've been reading this great forum and got answers to many questions, but I’ve got a little problem i haven’t found answer.

I have to insert a upload file form o xls file, and show data y a table. All works ok if you select the file from the button ‘Explore’ of Upload file component. The problem is that if you put a wrong route or filename with keyboard in the field of upload component and press the button that reads the file the system don’t responds, and you have to reload the page.

I’ve been trying many things, but I don’t know how to control this, to show a message like: “file doesn’t exist” or something similar...

Thanks in advance!,

Pedro

0 Likes
View Entire Topic
Former Member
0 Likes

This is not possible (as far as I know). I have been looking for this for some time and never found a solution.

But I think you have to ask yourself who is going to enter an invalid path. If the application is used by standard users, they are always going to use the "Browse" functionality.

A possible (not really nice) solution is to add a text to the view where you warn the users.

Regards,

Christophe

Former Member
0 Likes

Thanks for answer Christophe.

It’s a little bit disappointing that text box of upload file component cant be controlled or at least disabled for keyboard, as writing the path can be is useful for user (it’s true that most times user will press browse button, but if user try to write path and makes any mistake...)

Regards,

Pedro

Former Member
0 Likes

You're welcome.

Another problem regarding this is that you can't control the browse button or manually trigger the upload event. And every request to the server triggers an upload if a file is selected, even if it is not wanted.

There are people that say you can fire and catch every event (also that from the browse button for example) but they can't say how and I never saw a solution.

Regards,

Christophe