public virtual void Ajaxpopup(object source, RoutedEventArgs args) { Control b = (Control)source; RoDuinoPopupWindow popup = new RoDuinoPopupWindow(b.Tag + "", propertyBag); NavigatorFactory.Navigator.RoDuinoPopupWindow = popup; //extract setting from Tag popup.ParseSettings(b.Tag.ToString()); popup.ShowDialog(); }
// private PartialView ReinstantiatePartialView(string viewName) // { // Type ty = partialViews[viewName].GetType(); // PartialView view = (PartialView)Activator.CreateInstance(ty); // this.partialViews[viewName] = view; // return view; // } private void ClosePopupIfExists() { if (popupWindow != null) { popupWindow.Close(); popupWindow = null; } }