protected void Page_Load(object sender, EventArgs e) { txtIdRecipeDetail.Text = controller.AutoGenerateID(); lblDrugPrice.Visible = false; if (!isLogin()) { Response.Redirect("~/ui/Login.aspx"); } if (!Page.IsPostBack) { dataDrug(); dataRecipe(); } txtSearchDrugRecipe.Visible = false; lblDataRecipe.Visible = false; }