/// <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) { access = Access.Check(); SiteId = ((LeadForceBasePage)Page).SiteId; gridSegments.AddNavigateUrl = UrlsData.AP_ContactSegmentAdd(); gridSegments.SiteID = SiteId; gridSegments.Where.Add(new GridWhere() { CustomQuery = "(tbl_SiteTags.ObjectTypeID = '" + ObjectId.ToString() + "')" }); var radAjaxManager = RadAjaxManager.GetCurrent(Page); radAjaxManager.AjaxSettings.AddAjaxSetting(lbtnAdd, gridSegments); radAjaxManager.AjaxSettings.AddAjaxSetting(lbtnAdd, txtSegment, null, UpdatePanelRenderMode.Inline); radAjaxManager.AjaxSettings.AddAjaxSetting(lbtnSave, gridSegments); radAjaxManager.AjaxSettings.AddAjaxSetting(ucSelectContacts, gridContacts); }