This is a migrated thread and some comments may be shown as answers.

Telerik Upload problem

4 Answers 55 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
senthil
Top achievements
Rank 1
senthil asked on 20 Apr 2009, 04:21 PM
Hello friends,

  Can anyone answer for this please? I have telerik upload control, First I browse the file and before click the upload button I rename or delete the file what i browse, then I click the upload button and I get the empty file in the file saved folder.How do I check the browse file whether exists or not  before click the upload button.Please help for this.

4 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 21 Apr 2009, 08:07 AM
Hi senthil,

Actually you cannot check that on the client due to security reasons.


Regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
senthil
Top achievements
Rank 1
answered on 24 Apr 2009, 06:28 AM
Hello Veselin Vasilev,
                                  Thanks for ur information Vesslin. I must to check this so I change this into asp upload control.In that we have an option of FileUpload.Hasfile property is there.


Thanks and Regards,
SenthilKumar.T
0
senthil
Top achievements
Rank 1
answered on 24 Apr 2009, 06:33 AM
Hi Veselin,

You said we cannot do that in client side but if there is a way do that in server side pls send me that code ?


Thanks and Regards.
SenthilKumar.T
0
Veselin Vasilev
Telerik team
answered on 27 Apr 2009, 12:01 PM
Hi senthil,

You can check if the file exist on the server using server code. Please check this topic on more information FileExists server event

Sincerely yours,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
senthil
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
senthil
Top achievements
Rank 1
Share this question
or