RadWindow System.ArgumentOutOfRangeException

11 posts, 0 answers
  1. rui
    rui avatar
    46 posts
    Member since:
    May 2014

    Posted 03 May 2016 Link to this post

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

    is any solution to avoid this ? 

  2. Nasko
    Admin
    Nasko avatar
    666 posts

    Posted 05 May 2016 Link to this post

    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.
  3. rui
    rui avatar
    46 posts
    Member since:
    May 2014

    Posted 05 May 2016 in reply to Nasko Link to this post

    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...

  4. Nasko
    Admin
    Nasko avatar
    666 posts

    Posted 06 May 2016 Link to this post

    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.
  5. rui
    rui avatar
    46 posts
    Member since:
    May 2014

    Posted 06 May 2016 in reply to Nasko Link to this post

    ok

    thank you !

  6. Gaurav
    Gaurav avatar
    2 posts
    Member since:
    Sep 2012

    Posted 02 Feb in reply to rui Link to this post

    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>

  7. Shyu
    Shyu avatar
    12 posts
    Member since:
    Oct 2013

    Posted 02 Mar in reply to Nasko Link to this post

    Hi Nasko

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

  8. Shyu
    Shyu avatar
    12 posts
    Member since:
    Oct 2013

    Posted 02 Mar in reply to Shyu Link to this post

    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();
  9. rui
    rui avatar
    46 posts
    Member since:
    May 2014

    Posted 02 Mar in reply to Gaurav Link to this post

    thank you  but  my  case is a wpf solution but not a silverlight solution
  10. rui
    rui avatar
    46 posts
    Member since:
    May 2014

    Posted 02 Mar in reply to Shyu Link to this post

    thank you 

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

  11. Nasko
    Admin
    Nasko avatar
    666 posts

    Posted 06 Mar Link to this post

    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.
Back to Top