Click here to Skip to main content
15,913,487 members

Comments by Member 8711310 (Top 4 by date)

Member 8711310 23-May-12 11:32am View    
thanks for the reply... problem still remains... DB not updating...
Member 8711310 11-Apr-12 4:28am View    
it is defined in .aspx page as HiddenField ID : <asp:HiddenField ID="rowIndex1" runat="server" />

and im also using in javascript

function ChangeRowColor(row) {

//alert("function called");
//alert(row);
var numRow = document.getElementById("<%=GridView1.ClientID%>");
//turn on yellow
numRow.rows[parseInt(row) + 1].style.backgroundColor = "#FFFF00";

document.getElementById("<%=rowColor.ClientID%>").value = (parseInt(row) + 1);

var selectedRow = document.getElementById("<%=rowColor.ClientID%>").value;
document.getElementById("rowIndex1").value = document.getElementById("<%=rowColor.ClientID%>").value;


//alert(document.getElementById("rowIndex1").value);

return false;
}
Member 8711310 11-Apr-12 4:19am View    
ya it is of type string.. but the array is of type int...

thank you
Member 8711310 9-Mar-12 8:18am View    
how can we do this without using javascript....