Hai Friends
I n my case i am reterieving some datas from the backend
in 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:
---------------------------------------------
this particular column i have to hidden should not shown to the user
code begin:
----------------------------------------------------------
here is the code begin in this what cell value i should mention pls help me
I n my case i am reterieving some datas from the backend
in 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 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 = str;");
}
}
catch (System.Exception ex)
{
throw ex;
}
}
Comment