Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
UltraDesktopAlert raises "Parameter not valid" and crashes app.
posted

I use the alert to notify when an item is deleted.

I open the form and delete an item and the alert shows. No problem.

I close the form and open it repeatedly - 10 times.

I delete an item, the application crashes withan argument exception "Parameter is not valid."

It's crashing on the line           

Show(windowInfo);

All that gets set in windowInfo is as follows:
image, screen position and caption and location.
Is there any reason why "Parameter not valid" is raised - What would make the UltraDesktopAlertShowWindowInfo variable stop being valid. 
I ran throught this through the debugger and it is not null - variables there at run 1 are there at run 2.
Would appreciate any help on fixing this.
Thanks
Abz

 

 

  • 48586
    posted

    Hello,

     

    I am just checking about the progress of this issue. Did you solve your issue accordingly to the information that I provided you? Did you test the sample I have sent to you?

     

    Let me know if you need any further assistance.

     

    Thank you for using Infragistics Components.

  • 48586
    Suggested Answer
    posted

    Hello Abdul,

     

    I have tested UltraDesctopAlert with 10.3.1000 and I wasn’t able to reproduce your issue (see the attached sample). The behavior which you are getting probably is caused of some other code in your application, could you please post some code snipped or give me more information about your real scenario. Also can you please let me know whish exact version are you using?

    UltraDesktopAlert.zip