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

RadWindow System.ArgumentOutOfRangeException

10 Answers 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 03 May 2016, 10:06 AM

when using radwindow.alert,  there is  a small probability case to throw an System.ArgumentOutOfRangeException,  

is any solution to avoid this ? 

10 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 05 May 2016, 11:20 AM
Hi Rui,

We are not aware of the observed by exception and we were not able to reproduce it on our side. Could you please provide us some more detailed information about the scenario where the exception occurs and some steps to reproduce it? A sample project that demonstrates the exception will also be of great help in order to reproduce it on our side and provide you with a prompt solution.

We are looking forward to hearing from you.

Regards,
Nasko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
rui
Top achievements
Rank 1
answered on 05 May 2016, 11:33 AM

it is a very small probability case and  random occurrence , so i could not provide  any more information about this,

it seems like a bomb of no sure in our product...

0
Nasko
Telerik team
answered on 06 May 2016, 08:54 AM
Hi Rui,

We understand your concerns. However, without being able to reproduce the exception on our side we could not tell for sure what is the reason that is causing it - the provided information is not enough sufficient for us in order to reproduce the issue .

If you manage to reproduce the issue in sample please send it back to us and we will be able to continue our investigation and provide you with a solution.

Meanwhile, if you have any additional questions or concerns regarding Telerik controls, please let us know.

Regards,
Nasko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
rui
Top achievements
Rank 1
answered on 06 May 2016, 08:58 AM

ok

thank you !

0
Gaurav
Top achievements
Rank 1
answered on 03 Feb 2017, 02:58 AM

I had the same issue, after much struggle and trying all options, setting Autosizebehaviors = default worked for me

<telerik:RadWindowManager runat="server" id="RadWindowAlertManager" AutoSizeBehaviors="Default" ></telerik:RadWindowManager>

0
Shyu
Top achievements
Rank 1
answered on 02 Mar 2017, 08:35 AM

Hi Nasko

I have the same issue, and I created a simple project to reproduce the exception.

0
Shyu
Top achievements
Rank 1
answered on 02 Mar 2017, 08:40 AM

Here is the code.

RadWindow win1 = new RadWindow();
           win1.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
           Telerik.Windows.Controls.Animation.AnimationManager.SetIsAnimationEnabled(win1, false);
           Button btn = new Button();
           btn.Content = "Show Dialog";
           btn.Click += (ss, se) =>
           {
               win1.Close();
 
               RadWindow win2 = new RadWindow();
               win2.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
               Telerik.Windows.Controls.Animation.AnimationManager.SetIsAnimationEnabled(win2, false);
               win2.Content = "I can't be show";
               win2.ShowDialog();
           };
           win1.Content = btn;
           win1.Show();
0
rui
Top achievements
Rank 1
answered on 02 Mar 2017, 08:46 AM
thank you  but  my  case is a wpf solution but not a silverlight solution
0
rui
Top achievements
Rank 1
answered on 02 Mar 2017, 08:55 AM

thank you 

I try many times but the issue can not reproduce on my side

0
Nasko
Telerik team
answered on 06 Mar 2017, 01:23 PM
Hello Shyu,

We have checked the provided code-snippet and we were not able to observe the exception. Please, check the attached sample we used for our investigation. Try to modify it in order to reproduce the exception and send it back to us - thus we could be able to continue our investigation.

We are looking forward to hearing from you.

Regards,
Nasko
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
General Discussions
Asked by
rui
Top achievements
Rank 1
Answers by
Nasko
Telerik team
rui
Top achievements
Rank 1
Gaurav
Top achievements
Rank 1
Shyu
Top achievements
Rank 1
Share this question
or