// Server Side Code protected void gv_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[5].Attributes.add("onmouseover", "ShowTip(this);"); } // JavaScript Function function ShowTip(td) { td.title = td.innerText; }
protected void gv_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[5].Attributes.add("Title",e.Row.Cells[5].Text); //where cell 5 has the city }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)