/// <summary> /// The page_ load. /// </summary> /// <param name="sender"> /// The sender. /// </param> /// <param name="e"> /// The e. /// </param> protected void Page_Load(object sender, EventArgs e) { UtilsHelper.AddDoubleClick(lstRoles, Page.ClientScript); if (!IsPostBack) { RefreshData(); menu1.FindItem(SessionConsts.CDelete).NavigateUrl = confirmDelete.ViewConfirmScript; } else { // удаление UtilsHelper.PerformConfirmedAction(confirmDelete, DeleteRole, Request); // двойной клик по списку UtilsHelper.PerformDoubleClickAction(lstRoles.UniqueID, OpenRole, Request); } }