private void Page_Load(object sender, System.EventArgs e) { if (!IsPostBack) { Prev.Text = @"«  Previous"; Next.Text = @"Next  »"; firstPageLink.DataBind(); previousPageLink.DataBind(); nextPageLink.DataBind(); lastPageLink.DataBind(); } }
// Page_Load private void Page_Load(object sender, EventArgs e) { _shareType = Request.QueryString["module"]; _itemId = Request.QueryString["item_id"]; _blogId = Request.QueryString["blog_id"]; //Blog Post Id. Blog stored procedure needs blog id and post id for lookup. _postId = Request.QueryString["pst"]; _postDate = Request.QueryString["date"]; _postTitle = Request.QueryString["post_title"]; _clubUrl = club.secureDomainName; _requestNonce = o2Base.GenerateRandomNumber(); //generates a random number for each page load / request for token if necessary resetButton.DataBind(); if (!IsPostBack) { loadSocialDropDown(); gidHiddenField.Value = _linkedinGroupId; fbHiddenField.Value = _facebookId; fbGroupField.Value = _isFacebookGroup; } getFilterItems(); _formattedURL = formatUrl(); }