protected void drpShelf_SelectedIndexChanged(object sender, EventArgs e) { // int strproduct = 0; if (drpShelf.SelectedValue != "Select") { dropLocation.bindPrductShelfDropdownNew(drpProduct, Convert.ToInt32(drpShelf.SelectedValue));//bind all product intodropdown } }