示例#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";

            if (Page.RouteData.Values["id"] != null)
            {
                _paymentID = Guid.Parse(Page.RouteData.Values["id"] as string);
            }


            hlCancel.NavigateUrl = UrlsData.AP_Payments();

//            ucPaymentStatus.PaymentStatusChanged += ucPaymentStatus_PaymentStatusChanged;
            ucPaymentStatus.PaymentId = _paymentID;
            if (!Page.IsPostBack)
            {
                BindData();
            }
        }