Hi everybody,
I'm having trouble with being able to get the value from a page that is in a hidden field into the posted page. I get an error message: NullReferenceException was unhandled by user code...Object reference not set to an instance of an object. This error is pointing to hName.value. The source page looks like this:
// display selected row index.
$("#jqxgrid").bind('rowselect', function (event) {
var row = $("#jqxgrid").jqxGrid('getrowdata', event.args.rowindex);
//alert(row.ORG_ID + " " + row.Organization_Name);
document.getElementById('Hidden1').value = row.Organization_Name;
alert(document.getElementById('Hidden1').value);
});
<div id="divEdit">
<asp:Button ID="btnEdit" PostBackUrl="~/AddEditOrganization.aspx" runat="server" Tex ...
Go to the complete details ...