DateInput in RADUpload

Thread is closed for posting
4 posts, 0 answers
  1. Jakub Rehacek
    Jakub Rehacek avatar
    11 posts
    Member since:
    Apr 2005

    Posted 08 Jan 2008 Link to this post

    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
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 09 Jan 2008 Link to this post

    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
  3. Jakub Rehacek
    Jakub Rehacek avatar
    11 posts
    Member since:
    Apr 2005

    Posted 09 Jan 2008 Link to this post

    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
  4. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 11 Jan 2008 Link to this post

    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
Back to Top