protected void Page_Load(object sender, EventArgs e) { btnAdd.Attributes.Add("onclick", "clcontent();"); changeLinks(); getCompanyName(); if (!IsPostBack) { try { dropProduct.bindProductDropdown(drpProduct); } catch (Exception ex) { Response.Write(ex.Message); } } }