protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { FillLists.FillClientsList(ddlClients); FillLists.FillCurrenciesList(ddlCurrency); ddlCurrency.SelectedValue = "2"; try { hfCarID.Value = Page.RouteData.Values["carId"].ToString(); ShowCarDetails(hfCarID.Value); } catch { } } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { try { // fill clients list. FillLists.FillClientsList(ddlClients); FillLists.FillExchangeCompanies(ddlExchangeCo); FillLists.FillCurrenciesList(ddlCurrency); ddlCurrency.SelectedValue = "2"; ShowPaymentsByIds(); } catch { } } }