//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using CommunityServer.Blogs.Components;
using CommunityServer.Components;

namespace CommunityServer.ControlPanel.UI
{
	/// <summary>
	/// Summary description for BaseBlogControl.
	/// </summary>
	public class BaseBlogGridControl : BaseGridControl
	{
		public BaseBlogGridControl()
		{
		}

		protected BaseBlogPage BlogPage
		{
			get {return this.PanelPage as BaseBlogPage;}
		}

		protected Weblog CurrentWeblog
		{
			get { return this.BlogPage.CurrentWeblog;}
		}

        private BlogPostType bpt = BlogPostType.Post;
        public virtual BlogPostType BlogPostType
        {
            get{return bpt;}
            set {bpt = value;}
        }

	}
}
