Ejemplo n.º 1
0
        //        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;
            }
        }
Ejemplo n.º 2
0
        public virtual void Ajaxpopup(object source, RoutedEventArgs args)
        {
            Control            b     = (Control)source;
            RoDuinoPopupWindow popup = new RoDuinoPopupWindow(b.Tag + "", propertyBag);

            NavigatorFactory.Navigator.VRPopupWindow = popup;
            //extract setting from Tag

            popup.ParseSettings(b.Tag.ToString());
            popup.ShowDialog();
        }