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

Count pdf/word file pages before upload/

1 Answer 300 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Lynda Golomb
Top achievements
Rank 1
Lynda Golomb asked on 02 Aug 2015, 08:21 AM

Hi, 

I am working on an ASP.NET project where I am required to validate the page count of a pdf/word document before uploading it.

Is there any way of accomplishing this CLIENT SIDE ?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 05 Aug 2015, 08:04 AM
Hi Lynda,

The required functionality cannot be implemented only with client-side code. Also, such an implementation is actually not related to the RadAsyncUpload control.

I assume you need some sort of validation, however, you should note that the file's content is not accessible on the client, but on the server only. Therefore, once the file is uploaded, you can use RadPdfProcessing for PDF files and RadWordsProcessing for Word files to process the files and validate them programmatically.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
AsyncUpload
Asked by
Lynda Golomb
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or