protected void BCO_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e) { Origin.Text = ""; Origin.Items.Clear(); Origin.AppendDataBoundItems = true; Origin.Items.Add("All"); Origin.SelectedIndex = 0; Origin.DataSource = getCity(); Origin.DataTextField = "CityName"; Origin.DataValueField = "CityName"; Origin.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SackNumber.DataSource = getUnbundle(); SackNumber.DataTextField = "SACKNO"; SackNumber.DataValueField = "SACKNO"; SackNumber.DataBind(); BCO.DataSource = getBranchCorpOffice(); BCO.DataTextField = "BranchCorpOfficeName"; BCO.DataValueField = "BranchCorpOfficeCode"; BCO.DataBind(); Origin.DataSource = getCity(); Origin.DataTextField = "CityName"; Origin.DataValueField = "CityName"; Origin.DataBind(); } }