protected void Page_Load(object sender, EventArgs e) { if (master == null) { master = (IdeaHeaderAndSide)this.Master; } if (!IsPostBack) { string IdCat = Request.QueryString["categoryID"]; string keyword = Request.QueryString["search"]; string validate = Request.QueryString["validate"]; if (!string.IsNullOrEmpty(validate)) { tryValidate(validate); } if (!string.IsNullOrEmpty(IdCat)) { SeeLabel.Text = "Category: " + Request.QueryString["categoryName"]; getProducts(IdCat); } else if (!string.IsNullOrEmpty(keyword)) { SeeLabel.Text = "Search: " + keyword; DisplaySearchByKeywords(keyword, Request.QueryString["inclusion"]); } if (string.IsNullOrEmpty(keyword) && string.IsNullOrEmpty(IdCat)) { SeeLabel.Text = "Featured Ideas:"; SqlJacknife.stapleRepeater("Prods_Get_Featured", rptProducts, lblNoResults); } } }