示例#1
0
        protected void CalculateLinkButton_OnClick(object Sender, EventArgs E)
        {
            var xml = JsonConvert.DeserializeXNode(CalculationHidden.Value, "data");

            GoodsRepeater.DataSource = Goods.ListGoodsProducableQuantities(xml.Root, _stockID);
            GoodsRepeater.DataBind();
            ProduceLinkButton.CssClass = ProduceLinkButton.CssClass.Replace("hidden", "");
        }
示例#2
0
 protected void GoodsGroupComboBox_OnSelectedIndexChanged(object Sender, EventArgs E)
 {
     if (GoodsGroupComboBox.Value != null)
     {
         GoodsRepeater.DataSource = Goods.ListGoodsByGroup(Convert.ToInt32(GoodsGroupComboBox.Value));
         GoodsRepeater.DataBind();
         CalculateLinkButton.Visible = true;
     }
 }