Exemplo n.º 1
0
        protected override object CreateControlsCore() {
            IModelThumbnailWeb modelThumbnailWeb = ((IModelListViewThumbnailWeb)Model).ThumbnailWeb;
            control = new ThumbnailControl {
                ID = "thumbnail_control",
                DisplayStyle = modelThumbnailWeb.DisplayStyle,
                HideImages = modelThumbnailWeb.HideImages

            };
            control.Click += ControlOnClick;
            control.RequestText += ControlOnRequestText;
            return control;
        }
Exemplo n.º 2
0
        protected override object CreateControlsCore()
        {
            IModelThumbnailWeb modelThumbnailWeb = ((IModelListViewThumbnailWeb)Model).ThumbnailWeb;

            control = new ThumbnailControl {
                ID           = "thumbnail_control",
                DisplayStyle = modelThumbnailWeb.DisplayStyle,
                HideImages   = modelThumbnailWeb.HideImages
            };
            control.Click       += ControlOnClick;
            control.RequestText += ControlOnRequestText;
            return(control);
        }