示例#1
0
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            Title = "Реквизиты посетителя - LeadForce";

            rbAddSiteColumn.NavigateUrl = UrlsData.AP_SiteColumnAdd();

            //gridSiteColumns.Actions.Add(new GridAction { Text = "Редактировать", NavigateUrl = string.Format("~/{0}/SiteColumns/Edit/{{0}}", CurrentTab), ImageUrl = "~/App_Themes/Default/images/icoView.png" });
            gridSiteColumns.SiteID = SiteId;
            gridSiteColumns.Where  = new List <GridWhere>();
            gridSiteColumns.Where.Add(new GridWhere {
                Column = "SiteActivityRuleID", Value = null
            });
        }