yes i have tried on the TextChanged event of the Textbox which is Inside the Gridview control
below is my code:
protected void txtenddate_TextChanged(object sender, EventArgs e)
{
try
{
TextBox txtEndate = ((TextBox)(sender));
GridViewRow grv = ((GridViewRow)(txtEndate.NamingContainer));
CheckBox chkgoing = (CheckBox)GridDetails.Rows[0].FindControl("chkOngoing");
if (txtEndate.Text != "")
{
chkgoing.Enabled = false;
}
}
catch (Exception ex)
{
}
}
but i am not getting the Checkbox whic i have to disable....whenever there is value in the txtEndate textbox
pl reply,