how to set it for OutSide the Gridview not a Inside Gridview.
You can do the following by:
For injecting JS, you need to use
of GridView, something like:
protected void GridView_RowDataBound(Object sender, GridViewRowEventArgs e)
DataControlRowType rtype = e.Row.RowType;
if (rtype == DataControlRowType.DataRow && rtype != DataControlRowType.Footer
&& rtype != DataControlRowType.Separator && rtype != DataControlRowType.Header
&& rtype != DataControlRowType.Pager)
TextBox tb = (TextBox)e.Row.FindControl("myTextBox");
Show the div
event of the grid cell, and
Hide the div
event of the grid cell.
Put the same logic for any/all controls that you want to have it.