I'm developing a kind of framework that will work in web and win, so I have this interface:
public interface IViewsManager
{
...
void ShowMessage();
...
}
And I have the implementation for win that call a popup control from another dll. My problem is when I try to implement it for web enviroment, I have to call a popup control from another dll, and I would like to show the popup and the web page disables with a gray layer, and I don't know how to do it.
The structure is like the following:
1) UI.Common
a) IViewsManager
2) UI.Win
a) ViewsManagerWin
3) UI.Web
a) ViewsManagerWeb
4) UI.Controls
a) PopupControlWin
b) PopupControlWeb
5) Web Application
And from my web application I call the IViewsManager.ShowMessage, and depending on the enviroment it calls the appropiate popup control.
Please, any help will be appreciated. Thanks in advance.