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

DateInput in RADUpload

3 Answers 54 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jakub Rehacek
Top achievements
Rank 1
Jakub Rehacek asked on 08 Jan 2008, 11:40 PM
Is there a way to use a DateInput or DatePicker as one of the aditional Input fields in the RAD Upload. Or is there a way to do any sort of Field validation?
I need a date filed input and a Document name filed that cannot be empty for each file upload.


Thanks,

Jakub

3 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 09 Jan 2008, 03:09 PM
Hi,

You can add DateInput or DatePicker as an additional input field of RadUpload as it is shown in the online example - Additional fields if this will answer your requirements.

You can also validate the selected files client-side or server-side depending on your needs. I suggest reviewing the following help articles for reference: Client-side validationCustom validation and the corresponding online examples: Client-side validationCustom validation.

In case you experience any problems send us more details on the scenario you want to achieve and we will do our best to help you.

Best regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jakub Rehacek
Top achievements
Rank 1
answered on 09 Jan 2008, 09:24 PM
I saw the examples and I am using the similar code to add standard Input fields. But your examples use Javascript and I am not sure that I can use it to add ASP:RAD controls.
Do you have a simple sample how to add a date picker?

Thanks,
Jakub
0
Sophy
Telerik team
answered on 11 Jan 2008, 10:19 AM
Hi,

You are absolutely right. The Additional fields  example adds controls client-side using javascript code.
Please, accept my apologies for the misleading information.

The OnClientAdded event allows adding new fields only client-side and this is the only current option to add any additional elements to RadUpload. Therefore, adding server controls to RadUpload is not supported at this point. The better solution in your case is to create some kind of validation which can suit your scenario.

Do not hesitate to contact us again if you have other questions.

Kind regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
Jakub Rehacek
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Jakub Rehacek
Top achievements
Rank 1
Share this question
or