Exemple #1
0
    protected void tr_OrganizeCity_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
    {
        Label lb_OrganizeCity = (Label)pn_OrderDelivery.FindControl("ORD_OrderDelivery_OrganizeCity");

        lb_OrganizeCity.Text = tr_OrganizeCity.SelectText;

        Label lb_SheetCode = (Label)pn_OrderDelivery.FindControl("ORD_OrderDelivery_SheetCode");

        lb_SheetCode.Text = ORD_OrderDeliveryBLL.GenerateSheetCode(int.Parse(tr_OrganizeCity.SelectValue), AC_AccountMonthBLL.GetCurrentMonth());

        select_Client.PageUrl = "~/SubModule/CM/PopSearch/Search_SelectClient.aspx?ClientType=2&OrganizeCity=" + e.CurSelectIndex.ToString();

        BindOrderApplyCanDelivery();
    }
 protected void CM_Client_OfficalCity_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
 {
     //int officalcity=0;
     //int.TryParse(CM_Client_OfficalCity.SelectValue, out officalcity);
     //Addr_OfficialCityBLL _bll=new Addr_OfficialCityBLL(officalcity);
     //if (_bll.Model != null && _bll.Model.Level > 2)
     //{
     //    CM_Client_MarketType.SelectedValue = (_bll.Model.Level - 1).ToString();
     //}
     //else
     //{
     //    CM_Client_MarketType.SelectedValue = "1";
     //}
 }
 protected void tr_OfficialCity_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
 {
 }