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;
}
} 2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Sep 19, 2019, 7:12 AM
Naresh BadaPosted Sep 20, 2019, 4:51 AM