UXDialogBox object reference not set

2 replies. Last post: June 27, 2013 6:02 PM by David De Smet
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Good day,

I'm trying to use a custom UXDialogBox, taking code from the documentation. But I'm not able to show the dialog, since I'm getting a NullReferenceException at runtime.

I'm also getting the object reference not set to an instance of an object when in XAML and Design mode in Visual Studio, however, it does compiles.

I've attached the screenshot and a small sample project for further reference.

Edit:

Removing IsClientVisible="True" from the xaml fixes the object reference not set in Design mode.

Still the NullReferenceException at runtime is thrown.

Thanks in advance!

All times are GMT -5. The time now is 3:52 PM.
Previous Next