Tuesday, July 1, 2008

Finding the Control in the Grid

To find the control whether is existing in the grid:
----------------------------------------------------

TextBox txtcomments;
txtcomments=(TextBox)e.Item.FindControl("txtcomments");
txtcomments.Attributes.Add("Onchange","javascript:fncallcheck("+txtcomments.ClientID+")");

No comments: