public void ResetView()
 {
     _view = null;
 }
        protected override DataSourceView GetView(string viewName)
        {
            if (null == _view)
            {
                RefreshContextInfo();

                _view = new SenseNetDataSourceView(this)
                            {
                                Content = this.Content,
                                MemberName = this.MemberName,
                                FieldNames = this.FieldNames,
                                QueryFilter = this.QueryFilter,
                                QueryText = this.Query,
                                ShowHidden = this.ShowHidden,
                                Settings = this.Settings,
                                FlattenResults = this.FlattenResults,
                                DefaultOrdering = this.DefaultOrdering,
                                GroupBy = this.GroupBy
                            };

                _view.Selected += SnDataSourceViewSelected;
            }

            return _view;
        }