Remove Add button

Thread is closed for posting
2 posts, 0 answers
  1. Tina
    Tina avatar
    130 posts
    Member since:
    Jul 2011

    Posted 30 Apr 2012 Link to this post

    How to remove Add button in radupload when  MaxFileInputsCount is reached?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Apr 2012 Link to this post

    Hi Tina,

    Try the following code to remove Add button after reaching MaxFileInputsCount.

    <telerik:RadUpload ID="RadUpload1" runat="server" MaxFileInputsCount="3" OnClientAdded="OnClientAdded">

    <script type="text/javascript">
     function OnClientAdded(sender, args)
            if (sender.getFileInputs().length == sender.get_maxFileCount())

Back to Top