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
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.
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.