AW.Portal.ProductBrowser.gv_Product_RowCommand C# (CSharp) Метод

gv_Product_RowCommand() защищенный Метод

protected gv_Product_RowCommand ( object sender, GridViewCommandEventArgs e ) : void
sender object
e GridViewCommandEventArgs
Результат void
        protected void gv_Product_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            if (e.CommandName == "select")
            {
                int id = Convert.ToInt32(e.CommandArgument);
                ucProductDescri.GetDesc(id);
                ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup();", true);

            }

            else if (e.CommandName == "order")
            {
                int id = Convert.ToInt32(e.CommandArgument);
                ucProductOrder.GetDescOrder(id);
                //hdnOrderPopupVisibleYN.Value = "Y";
                ClientScript.RegisterStartupScript(this.GetType(), "Popup", "ShowPopup1();", true);
            }
        }