radUpload Control --- Showing the validation message while selecting the invalid File Type

Thread is closed for posting
2 posts, 0 answers
  1. Rahul Nasa
    Rahul Nasa avatar
    1 posts
    Member since:
    Oct 2009

    Posted 23 Oct 2009 Link to this post


    Can somebody help me in showing the message that particular file type is not valid while selecting particular file type in the Open window.

    For Example there is  a property AllowedFileExtensions , is there any way to stop the user from selecting particular file type?



    radU:RadUpload ID="radEvaluationFileupload" runat="server" Skin="Vista" Width="150px" InitialFileInputsCount="1" AllowedFileExtensions=".doc,.txt"



    ControlObjectsVisibility="None" TargetPhysicalFolder="C:\UploadFiles" SkinsPath="~/RadControls/Upload/Skins"



    MaxFileInputsCount="1" />


    Rahul Nasa
  2. Genady Sergeev
    Genady Sergeev avatar
    1600 posts

    Posted 29 Oct 2009 Link to this post

    Hi Rahul Nasa,

    You need to use a little bit of JavaScript to achieve this goal. Please consult with this help article for more information on the topic.

    Genady Sergeev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top