attribute 'IsEditable' is not a valid attribute of the element 'gridview' [modified],this is not working
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I need to edit a gridview using edit link, protected void GridView2_RowEditing(object sender, GridViewEditEventArgs e) { GridView2.Attributes.Add("IsEditable","true"); GridView2.EditIndex = e.NewEditIndex; } but this giving me this message "attribute 'IsEditable' is not a valid attribute of the element 'gridview'" and also the above code edits the entire row, i just want only 3rd and 4th columns to be edited, how do i change my code so that only those columns get into editing mode. And only after 2 clicks the edit link is working, for 1st click the page remains as it is. Thanks
modified on Tuesday, January 6, 2009 2:57 PM