Osama Bin Gandhi Posted April 2, 2014 Report Posted April 2, 2014 Grid view lo ok link button undhi...adi click cheste aa seelct chesina row lo unna hidden template fields lo unna textbox visible avvali how?
macha Posted April 2, 2014 Report Posted April 2, 2014 Man just google ... nee code lo integrate and test kada... aa particular row number dwara hidden variable ne access chyavachu... long time forgot how to do.. ltt
dotnetrockz Posted April 2, 2014 Report Posted April 2, 2014 protected void btnEditGridview_Click(object sender, EventArgs e) { foreach (GridViewRow row in gvAdminDetails.Rows) { if (row.RowType == DataControlRowType.DataRow) { row.FindControl("txtMarketValue").Visible = true; row.FindControl("lblMarketValue").Visible = false; row.FindControl("txtcode").Visible = true; row.FindControl("lblCode").Visible = false; row.FindControl("txtRVAmount").Visible = true; row.FindControl("lblRVAmount").Visible = false; } } btnEditGridview.Visible = false; }
Recommended Posts