Example #1
0
 public Tooltip(ViewContext viewContext, IJavaScriptInitializer javaScriptInitializer, ViewDataDictionary viewData)
     : base(viewContext, javaScriptInitializer, viewData)
 {
     Callout = true;
     AutoHide = true;
     ContentHandler = new ClientHandlerDescriptor();
     Animation = new PopupAnimation();
 }
Example #2
0
 public Tooltip(ViewContext viewContext, IJavaScriptInitializer javaScriptInitializer, ViewDataDictionary viewData)
     : base(viewContext, javaScriptInitializer, viewData)
 {
     Callout        = true;
     AutoHide       = true;
     ContentHandler = new ClientHandlerDescriptor();
     Animation      = new PopupAnimation();
 }
Example #3
0
        public DropDownListBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData, IUrlGenerator urlGenerator)
            : base(viewContext, initializer, viewData)
        {
            Animation = new PopupAnimation();

            DataSource = new DataSource();

            UrlGenerator = urlGenerator;
        }
        public DropDownListBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData, IUrlGenerator urlGenerator)
            : base(viewContext, initializer, viewData)
        {
            Animation = new PopupAnimation();

            DataSource = new DataSource();

            UrlGenerator = urlGenerator;
        }
Example #5
0
        public DatePickerBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData)
            : base(viewContext, initializer, viewData)
        {
            ParseFormats = new List <string>();

            Animation = new PopupAnimation();

            Value   = null;
            Enabled = true;
        }
        public DatePickerBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData)
            : base(viewContext, initializer, viewData)
        {
            ParseFormats = new List<string>();

            Animation = new PopupAnimation();

            Value = null;
            Enabled = true;
        }
Example #7
0
 public Notification(ViewContext viewContext, IJavaScriptInitializer initializer)
     : base(viewContext, initializer)
 {
     Position = new NotificationPositionSettings();
     Stacking = NotificationStackingSettings.Default;
     HideOnClick = true;
     Button = false;
     AllowHideAfter = 0;
     AutoHideAfter = 5000;
     Templates = new List<NotificationTemplateSettings>();
     Animation = new PopupAnimation();
     Tag = "span";
 }
Example #8
0
        public TabStrip(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization)
            : base(viewContext, initializer)
        {
            UrlGenerator  = urlGenerator;
            Authorization = authorization;

            Animation = new PopupAnimation();

            Items            = new List <TabStripItem>();
            SelectedIndex    = -1;
            HighlightPath    = true;
            SecurityTrimming = new SecurityTrimming();
        }
Example #9
0
 public Notification(ViewContext viewContext, IJavaScriptInitializer initializer)
     : base(viewContext, initializer)
 {
     Position       = new NotificationPositionSettings();
     Stacking       = NotificationStackingSettings.Default;
     HideOnClick    = true;
     Button         = false;
     AllowHideAfter = 0;
     AutoHideAfter  = 5000;
     Templates      = new List <NotificationTemplateSettings>();
     Animation      = new PopupAnimation();
     Tag            = "span";
 }
Example #10
0
        public ListBase(ViewContext viewContext, IJavaScriptInitializer initializer, ViewDataDictionary viewData, IUrlGenerator urlGenerator)
            : base(viewContext, initializer, viewData)
        {
            Animation = new PopupAnimation();

            DataSource = new DataSource();

            PopupSettings = new UI.PopupSettings();

            VirtualSettings = new UI.VirtualSettings();

            UrlGenerator = urlGenerator;
        }
Example #11
0
        public Menu(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization)
            : base(viewContext, initializer)
        {
            Animation = new PopupAnimation();

            UrlGenerator  = urlGenerator;
            Authorization = authorization;

            Items = new LinkedObjectCollection <MenuItem>(null);

            CloseOnClick     = true;
            HighlightPath    = true;
            SecurityTrimming = true;
        }
Example #12
0
        public Window(ViewContext viewContext, IJavaScriptInitializer initializer)
            : base(viewContext, initializer)
        {
            Template = new HtmlTemplate();

            ResizingSettings = new WindowResizingSettings();

            Actions = new WindowButtons();
            defaultButtons.Each(button => Actions.Container.Add(button));

            Animation = new PopupAnimation();

            ContentHtmlAttributes = new RouteValueDictionary();

            Scrollable = true;

            Visible = true;
        }
Example #13
0
        public Window(ViewContext viewContext, IJavaScriptInitializer initializer)
            : base(viewContext, initializer)
        {
            Template = new HtmlTemplate();

            ResizingSettings = new WindowResizingSettings();

            Actions = new WindowButtons();
            defaultButtons.Each(button => Actions.Container.Add(button));

            Animation = new PopupAnimation();

            ContentHtmlAttributes = new RouteValueDictionary();

            Scrollable = true;

            Visible = true;
        }