this is my code:
ToolTip="For Help, Double Click or Press F2" AutoCompleteType="Disabled" AutoPostBack="True"
OnTextChanged="txtGLCode_TextChanged">
protected void XbrlGLGrid_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.DataItem != null)
{
System.Web.UI.WebControls.TextBox txtGLCode = e.Row.FindControl("txtGLCode") as System.Web.UI.WebControls.TextBox;
string Enable = e.Row.Cells[4].Text;
if (Enable == "True")
{
txtGLCode.Enabled = false;
txtGLCode.BackColor = Color.White;
}
}
Amit MohantyRank #112 · 20K reputationPosted Sep 19, 2019, 3:12 AM EDT
Naresh BadaRank #7,940 · 231 reputationPosted Sep 20, 2019, 12:51 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts