Click here to Skip to main content
15,893,904 members

Comments by Member 9018012 (Top 20 by date)

Member 9018012 18-Mar-16 4:59am View    
Please explain about DDL Edit/update..
how to set Autopostback=true in MVC.
Member 9018012 27-Nov-15 11:52am View    
but the above code does not skip the first row...
Member 9018012 27-Nov-15 11:52am View    
protected void grdSampleForm_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{

if(e.Row.RowIndex > 1)
{

CheckBox CheckBox1 = (CheckBox)e.Row.FindControl("CheckBox1");
CheckBox1.Visible = false;
CheckBox CheckBox2 = (CheckBox)e.Row.FindControl("CheckBox2");
CheckBox2.Visible = false;
// e.Row.Cells[0].Controls[2].Visible = false;
}
}
}
Member 9018012 27-Nov-15 7:30am View    
I used c# code behind rowbound event and tried to find the row index but no luck..
Member 9018012 13-Aug-15 9:35am View    
It's defined....