protected void ddlAddressNumber_SelectedIndexChanged(object sender, EventArgs e) { DropDownList ddl = (DropDownList)sender; ImageButton ibExpressView = UC_Express_PageButtons1.FindControl("ibExpressView") as ImageButton; if (!string.IsNullOrEmpty(ddl.SelectedValue)) { WACGlobal_Methods.PopulateControl_Property_EditInsert_UserControl_Controls(ibExpressView, lblPropertyAddress, hfPropertyPK, Convert.ToInt32(ddl.SelectedValue)); } }
protected void lbParticipant_PropertyAddress_Clear_Click(object sender, EventArgs e) { ImageButton ibExpressView = UC_Express_PageButtons1.FindControl("ibExpressView") as ImageButton; ibExpressView.Visible = false; lblPropertyAddress.Text = ""; hfPropertyPK.Value = ""; try { ddlCity.SelectedIndex = 0; } catch { } try { ddlAddressType.Items.Clear(); } catch { } try { ddlAddress.Items.Clear(); } catch { } try { ddlAddressNumber.Items.Clear(); } catch { } }