Posted on: 8/12/2014 6:06:33 PM | Views : 401

I have this below code
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (string.IsNullOrWhiteSpace(Request.QueryString["PostSectionID"])) { this.Visible = false; } else { this.Visible = true; int sectionID = DataParser.IntParse(Request.QueryString["PostSectionID"]); using (var context = new MediaEntities()) { string locale = CookiesHelper.GetCookie(Constants.Keys.CurrentCultureCookieKey); string direction = LanguageHelper.GetLocaleDirection(locale); PostCategoriesListComponentUL.Style.Add("direction", direction); var postCategoriesQuery = (from set in context.ME ...

Go to the complete details ...