Пример #1
0
        /// <summary>
        /// Handles the OnPostBack event of the upnlContent control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="PostBackEventArgs"/> instance containing the event data.</param>
        void upnlContent_OnPostBack(object sender, PostBackEventArgs e)
        {
            var parms = new Dictionary <string, string>();

            parms.Add("Area", e.EventArgument);
            NavigateToLinkedPage("LocationPage", parms);
        }
Пример #2
0
        /// <summary>
        /// Handles the OnPostBack event of the upnlContent control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="PostBackEventArgs"/> instance containing the event data.</param>
        protected void upnlContent_OnPostBack(object sender, PostBackEventArgs e)
        {
            var checkinAreaGuid = e.EventArgument.AsGuid();

            CheckinManagerHelper.SaveSelectedCheckinAreaGuidToCookie(checkinAreaGuid);
            NavigateToLinkedPage(AttributeKey.ManagerPage);
        }