watkinslahore
New Member
Hai FriendsI n my case i am reterieving some datas from the backendin that one patricular column in the gridview should be hidden.it should not shown in the screen.in case if is use visible="false" the datas not showing in when clicking the event the text box how to do this pls help me.source code:\[code\]<asp:BoundField DataField="GLAC_NAME" HeaderText="A/cNo"> <ItemStyle Width="200px" /> </asp:BoundField>\[/code\]this particular column i have to hidden should not shown to the user code begin:\[code\]protected void GridLedger_RowDataBound(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onMouseDown", "var str = document.getElementById('" + e.Row.ClientID + "').cells[1].innerText; document.getElementById('"+TextBox1.ClientID+"').value = http://stackoverflow.com/questions/1865176/str;"); } } catch (System.Exception ex) { throw ex; } }\[/code\]here is the code begin in this what i should mention in cell value