Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Community Forums > Announcements > radUpload Control --- Showing the validation message while selecting the invalid File Type

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

Feed from this thread
  • Rahul Nasa avatar

    Posted on Oct 23, 2009 (permalink)

    Hi,

    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" />

     



    Regards,
    Rahul Nasa
    rahulnasa@gmail.com

    Reply

  • Genady Sergeev Genady Sergeev admin's avatar

    Posted on Oct 29, 2009 (permalink)

    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.

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

    Reply

  • Q1 Webinar Week

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Community Forums > Announcements > radUpload Control --- Showing the validation message while selecting the invalid File Type