This is a migrated thread and some comments may be shown as answers.

Mac user unable to show file dialog (Errors)

7 Answers 64 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Jamest
Top achievements
Rank 2
Jamest asked on 09 Apr 2010, 03:31 PM
Hello all,
   I am wondering if anyone else has had issues with Mac users and showfile dialog. I am at a loss as I don't have a Mac to debug against. The user before would click the browse button and nothing would occur. So upon entering I try programmatically calling the show file dialog and get this error (see image). Any suggestions? Interestingly enough I had the user try the demo version on the site and the file dialog did appear.

 

 

     <telerikNavigation:RadWindow x:Name="windowUploadFiles" WindowStartupLocation="CenterOwner"  MaxHeight="800" Header="Upload Content" PreviewClosed="windowUploadFiles_PreviewClosed" Closed="windowUploadFiles_Closed" d:IsHidden="True">  
            <ScrollViewer VerticalScrollBarVisibility="Auto"  telerik:ScrollViewerExtensions.EnableMouseWheel="True">  
                <Grid> 
                    <Grid.RowDefinitions> 
                        <RowDefinition Height="Auto"/>  
                    </Grid.RowDefinitions> 
                    <Grid.ColumnDefinitions> 
                        <ColumnDefinition/> 
                        <ColumnDefinition/> 
                    </Grid.ColumnDefinitions> 
                    <Border  Grid.ColumnSpan="2"  BorderBrush="DarkBlue" CornerRadius="5"  VerticalAlignment="Top" BorderThickness="1" Background="{StaticResource PanelBackground}">  
                        <Grid Margin="10">  
                            <Grid.RowDefinitions> 
                                <RowDefinition Height="*"/>  
                                <RowDefinition Height="Auto"/>  
                            </Grid.RowDefinitions> 
                            <TextBlock TextWrapping="Wrap" Width="400" FontWeight="Bold" FontSize="12"><Run Text="Browse to select your files and click upload to start the importing process."/></TextBlock> 
                            <telerikInput:RadUpload Grid.Row="1" 
                                x:Name="RadUpload1"    
                                IsAutomaticUpload="False" 
                                OverwriteExistingFiles="True"   
                                HorizontalAlignment="Stretch" 
                                HorizontalContentAlignment="Right"    
                                VerticalAlignment="Top" 
                                FileUploaded="RadUpload1_FileUploaded" 
                                FilesSelected="RadUpload1_FilesSelected" 
                                UploadFinished="RadUpload1_UploadFinished" 
                                FileCountExceeded="RadUpload1_FileCountExceeded" 
                                FileTooLarge="RadUpload1_FileTooLarge" 
                                FileUploadFailed="RadUpload1_FileUploadFailed" 
                                UploadSizeExceeded="RadUpload1_UploadSizeExceeded" 
                                IsMultiselect="True" 
                                UploadCanceled="RadUpload1_UploadCanceled"   
                                /> 
                        </Grid> 
                    </Border> 
 
                    <StackPanel x:Name="spLoadingUploader" Grid.RowSpan="1" Grid.ColumnSpan="2" Visibility="Collapsed" > 
                        <StackPanel.Resources> 
                            <Storyboard x:Name="sbLoadingUploader">  
                                <ColorAnimation Storyboard.TargetName="mySolidColorBrushUploader" 
                                             Storyboard.TargetProperty="Color"   
                                             From="#DDF0F0F0" To="#88AAAAFF" Duration="0:0:2" AutoReverse="True" RepeatBehavior="Forever" /> 
                            </Storyboard> 
                        </StackPanel.Resources> 
 
                        <StackPanel.Background> 
                            <SolidColorBrush x:Name="mySolidColorBrushUploader" Color="#DDF0F0F0" /> 
                        </StackPanel.Background> 
                        <TextBlock x:Name="tb_Uploader_LoadingMessage" Text="Please Wait While Processing Files..." HorizontalAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Center" FontWeight="Bold" FontFamily="Portable User Interface" FontSize="16" Margin="0,50,0,0">  
                                    <TextBlock.Foreground> 
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">  
                                            <GradientStop Color="#FF000000"/>  
                                            <GradientStop Color="#FF154AF2" Offset="1"/>  
                                        </LinearGradientBrush> 
                                    </TextBlock.Foreground></TextBlock>  
                    </StackPanel> 
                </Grid> 
            </ScrollViewer> 
        </telerikNavigation:RadWindow> 

 

 
                        RadUpload1.SetInitialUIState();  
                        this.cUploadFileNames = new ObservableCollection<string>();          
                        double serverVer = 0;   
                        string filter =   "All Files(*.*)|*.*;|Power Point Files|*.pptx;*.ppt;*.potx;*.pot;|Word Files|*.docx;*.doc;|Excel Files|*.xlsx;*.xls;|PDF Files|*.pdf;|Flash Files|*.swf;";  
                        RadUpload1.Filter = filter;  
                        RadUpload1.FilterIndex = 1;  
                        RadUpload1.UploadServiceUrl = WCF.cBaseDirectory + "/RadUploadHandler.ashx";  
                        RadUpload1.TargetFolder = "temp";  
                        RadUpload1.Items.Clear();  
                        windowUploadFiles.Show();  
                        windowUploadFiles.TopOffset = -150d;  
                        windowUploadFiles.WindowState = WindowState.Normal;  
                        RadUpload1.ShowFileDialog(); 

 

7 Answers, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 15 Apr 2010, 06:14 AM
Hi Ender,

Thank you very much for this report.
It seems that there is a bug, preventing the show of the "open file" dialog on Mac.
We will further investigate and fix the problem.
Your Telerik points are updated.

Any additional comments are highly appreciated.

Greetings,
Vladislav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jamest
Top achievements
Rank 2
answered on 15 Apr 2010, 07:06 PM
Vladislav,
    Thank you so much for looking into this for me. I look forward to a resolution, and my client forwarded this to me. Maybe of some help.
   Cheers,
             Jordan
0
Vladislav
Telerik team
answered on 16 Apr 2010, 03:14 PM
Hi Ender,

Thank you for the additional information.
Please keep an eye on this thread for updates to this problem.

Greetings,
Vladislav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jamest
Top achievements
Rank 2
answered on 06 May 2010, 05:39 PM
Is there any movement on this issue?
0
Ivan
Telerik team
answered on 07 May 2010, 12:23 AM
Hello Ender,

We are sorry to inform you we still not work-around the issue. However we will continue our research about this problem.

Once again sorry for not providing a solution for you.

Best wishes,
Ivan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Accepted
Vladislav
Telerik team
answered on 28 May 2010, 11:20 AM
Hello Ender,

We recently found the cause of this problem. It seems that there was a problem with previous version of the Silverlight plug-in for Safari. We have tested this issue with the latest Silverlight plug-in (version 4.0.50401.0) and it works properly.
Can we ask you to try your project with this (latest) Silverlight plug-in installed on the Mac and let us know if you still encounter this problem?

Thank you for your cooperation.

Sincerely yours,
Vladislav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jamest
Top achievements
Rank 2
answered on 09 Jun 2010, 02:38 PM
Thank you, I just recieved confirmation that the issue is no longer present for the user.
Tags
Upload
Asked by
Jamest
Top achievements
Rank 2
Answers by
Vladislav
Telerik team
Jamest
Top achievements
Rank 2
Ivan
Telerik team
Share this question
or