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

Window.Alert("msg") CRASH on Window XP

3 Answers 68 Views
Window
This is a migrated thread and some comments may be shown as answers.
Luciano Broussal
Top achievements
Rank 1
Luciano Broussal asked on 06 Apr 2010, 01:59 PM
Hi,

The call to RadWindow.Alert("msg") crashes on Window XP PRO while it's working on Windows Seven boxes

We are using this telerik package RadControls_for_WPF_2010_1_0309_DEV.msi

Please find below the error stack we have during the crash 

{"La valeur '/Telerik.Windows.Controls.Navigation;component/Themes/GenericVista.xaml' ne peut pas être attribuée à la propriété 'Source' de l'objet 'System.Windows.ResourceDictionary'. La valeur '/Telerik.Windows.Controls.Navigation;component/themes/vista/CarouselDataFieldPresenter.xaml' ne peut pas être attribuée à la propriété 'Source' de l'objet 'System.Windows.ResourceDictionary'. La référence d'objet n'est pas définie à une instance d'un objet.  Erreur à l'objet 'System.Windows.ResourceDictionary' dans le fichier de balisage 'Telerik.Windows.Controls.Navigation;component/Themes/GenericVista.xaml'.  Erreur à l'objet 'System.Windows.ResourceDictionary'."} 


Thank you for your support.

Best Regards.

Luciano





3 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 08 Apr 2010, 01:48 PM
Hello Luciano,

 Could you please send us a sample project that reproduces the problem? This way we will be able to find out what the problem is and assist you fixing the problem.

Best wishes,
Miroslav Nedyalkov
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
Luciano Broussal
Top achievements
Rank 1
answered on 09 Apr 2010, 09:08 AM
Hi,

Thank you for your answer.
I'm providing you with a dummy sample reproducing the problem on window XP Pro Box and working on Seven.

Thanks for you feedbacks and advice to fix this.

Best Regards.

Luciano


PS : Was not able to submit my .zip sample the forum only accept images files. I tried to hack it by renaming .zip .jpeg but it still does not accept my file. Please advise me how to upload .zip file for  next time. Thanks.


So here goes the source code.


do a WPF window

<Window x:Class="WpfApplication1.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Button Content="Click Me 4 RadWindowAlert !" Click="Button_Click"/>
    </Grid>
</Window>


the CS

using System.Windows;
using Telerik.Windows.Controls;

namespace WpfApplication1
{
    public partial class Window1 : Window
    {
        public Window1()
        {
            InitializeComponent();
            
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            RadWindow.Alert("I'm clicked");
        }
    }
}

the assembly references set in the solution

C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Binaries\WPF\Telerik.Windows.Controls.dll
C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Binaries\WPF\Telerik.Windows.Controls.Navigation.dll



0
Boyan
Telerik team
answered on 14 Apr 2010, 11:48 AM
Hello Luciano Broussal,

We are unable to reproduce the issue on XP Pro. I am using XP Professional SP3 and the exact project you provided. By the way are you using .Net Framework 4 or 3.5 and also VS2008  or VS2010.

About attaching an example it is not allowed because it is a forum thread. If you need to attach files you should start a support thread where attaching images, zip files and text files is allowed for files up to 20 MB.

Kind regards,
Boyan
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.
Tags
Window
Asked by
Luciano Broussal
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Luciano Broussal
Top achievements
Rank 1
Boyan
Telerik team
Share this question
or