protected void BtnConfirmRequest_ServerClick(object sender, EventArgs e)
 {
     SourceRentals.Insert();
     LvwBooks.DataBind();
     BtnRequestRentV.DataBind();
     ScriptManager.RegisterStartupScript(BtnConfirmRequest, GetType(), "ConfirmRequestModal",
                                         @"$('#ConfirmRequestModal').modal('hide');", true);
 }
 protected void LvwBooks_ItemCommand(object sender, ListViewCommandEventArgs e)
 {
     HfdBookID.Value = e.CommandArgument.ToString();
     BtnRequestRentV.DataBind();
 }
Пример #3
0
 protected void BtnConfirmRental_ServerClick(object sender, EventArgs e)
 {
     BtnRequestRentV.DataBind();
     ScriptManager.RegisterStartupScript(BtnConfirmRental, GetType(), "rentalNotifModal",
                                         @"$('#rentalNotifModal').modal('hide');", true);
 }