Hello Sir,
I'm trying to update the rows using modal popup by fetching the previous data, here when i try to open the modal popups
one after the other in checkboxlist, the previous items are getting overlapped with the new edit row.
I'm not getting how to refresh the page when continously the rows are clicked for edit.
The same case with radiobuttionlist.
When i click edit for rows one after the other the page should get refreshed automatically an fetch the data for a selected row.
Please help me out
private void GetData()
{
ClientScript.RegisterStartupScript(this.GetType(), "alert", "ShowPopup();", true);
idd = Convert.ToInt32(UpdateId.Value);
DataTable dt = new DataTable();
dt = obj_select.select_staffupdate(idd);
txt_reason.Text = dt.Rows[0][3].ToString();
staffname = dt.Rows[0][1].ToString();
string radiobutton1 = dt.Rows[0][2].ToString();
if (radiobutton1 == "Male")
{
RadioButtonList1.Items[0].Selected = true;
}
else if (radiobutton1 == "Female")
{
RadioButtonList1.Items[1].Selected = true;
}
string status = dt.Rows[0][8].ToString();
DropDownList1.SelectedIndex = DropDownList1.Items.IndexOf(DropDownList1.Items.FindByText(status));
}
Thanks in advance