Upload button disappers during upload.

4 posts, 0 answers
  1. Roshil
    Roshil avatar
    29 posts
    Member since:
    Jun 2011

    Posted 06 Oct 2011 Link to this post

    Hi Telerik Team

    I’m facing a problem with upload control in Silverlight.  The issue is that during upload of multiple files with the control and try to validate something on upload event, if the validation is failed, the upload button disappears. We are using the e.cancel =true in the OnValidate method. And then the user cannot upload the file as the upload button is missing.

    Code used


    <telerik:RadUpload x:Name="radFileUploader" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left"  Margin="10,0,10,10" VerticalAlignment="Bottom"


                                     Filter="Image Files (*.jpg;*.jpeg;*.png)|*.jpg;*.jpeg;*.png"

                                     FilterIndex="0" MaxFileCount="5"   

                            AllowDrop="true" Width="200"







                                     FileUploaded="radFileUploader_FileUploaded" SingleFilePerPostRequest="False" UploadStarted="radFileUploader_UploadStarted" />





    public UploadIconDialog()



                radFileUploader.AddHandler(RadUploadItem.ValidateEvent, new UploadValidateEventHandler(OnValidate));





    ///Validation Method

    void OnValidate(object sender, UploadValidateEventArgs e)



                if (txtLandscape.Text == string.Empty)


                    MessageBox.Show("Please select a landscape", "Validation", MessageBoxButton.OK);

    // Here Landscape is a mandatory field.


                    e.Cancel = true;







    //Attching  parameters.

    private void radFileUploader_FileUploadStarting(object sender, Telerik.Windows.Controls.FileUploadStartingEventArgs e)


                e.FileParameters.Add("LandscapeGuid", txtLandscape.Tag);

                e.FileParameters.Add("FileName", e.SelectedFile.File.Name);




    So how can I bring back the 'upload' button so the user can upload files if needed?

  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 11 Oct 2011 Link to this post

    Hi Roshil,

    Thank you for reporting this issue. This seems to be a bug in the visual stes of the Upload control. I have logged this in our PITS under "Incorrect UI state when validating all files with the Validate event" and you can check its progress.

    Alex Fidanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 02 Apr 2014 in reply to Alex Fidanov Link to this post

    Any timeline on this?
  4. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 07 Apr 2014 Link to this post

    Hi Dan,

    We will try to provide a fix for the reported issue in our next official release (Q2 2014). The best way to be notified for any changes to this issue is to follow the feedback item that I exposed in our system.

    Pavel R. Pavlov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top