Opening a view from another DLL as modal

5 replies. Last post: February 16, 2011 12:12 PM by Jimmy Petrus
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Sebastien Member

Hi,


We are trying to use the DialogBoxServiceProvider.cs from the ClientUI/Devforce exemple (ContactMVVM).


Our project has one unique application and many DLL, each ones containing ViewModels et Views. 


When we try to open a view as modal, it only works if the view is in the silverlight application.

We can't manage to call a view in another DLL. Is there a particulary way to name the view when it is not in the application ? We tried many way but each gave an error :

In the function GetInstanceAsync, the property Instance as null for value on the following line :  resultCallback((IModalWindow)asyncResult.Instance); 


We tried to call the main function with thiose parameter :

"viewA"

"AssemblyA.viewA"

"AssemblyA;component/viewA"

"/AssemblyA;component/viewA" 

etc ...


Is it possible to call as modal a view wich isn't in the silverlight application ? if yes how ?


thanks

All times are GMT -5. The time now is 1:32 PM.
Previous Next