Mac user unable to show file dialog (Errors)

8 posts, 1 answers
  1. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 09 Apr 2010 Link to this post

    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(); 

     

  2. Vladislav
    Admin
    Vladislav avatar
    275 posts

    Posted 15 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 15 Apr 2010 Link to this post

    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
  5. Vladislav
    Admin
    Vladislav avatar
    275 posts

    Posted 16 Apr 2010 Link to this post

    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.
  6. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 06 May 2010 Link to this post

    Is there any movement on this issue?
  7. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 06 May 2010 Link to this post

    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.
  8. Answer
    Vladislav
    Admin
    Vladislav avatar
    275 posts

    Posted 28 May 2010 Link to this post

    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.
  9. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 09 Jun 2010 Link to this post

    Thank you, I just recieved confirmation that the issue is no longer present for the user.
Back to Top
DevCraft banner