Skip to content
C# Corner
Searcharticlesvideosblogsforumsinterview questionsarticles
  • Tech
  • Articles
  • Blogs
  • News
  • Videos
  • Interviews
  • Forums
  • Books
  • Events
    • Jobs
    • Stories
Login
  • Article
  • Blog
  • Video
  • Ebook
  • Interview Question
Loading
Upcoming Events
View all
  • 23 NOV
    AI Agents Conference 2026 - 3rd Edition

Our Training Programs

View all
  • AI & Machine Learning

  • Mastering Large Language Models

  • Mastering Prompt Engineering

  • Certified Vibe Coder

  • Github Copilot Training

  • Generative AI for Beginners

  • n8n Automation & AI Agents Training

About UsContact UsPrivacy PolicyTermsBrand GuidelinesPartnersC# TutorialsConsultantsIdeasReport A BugFAQsSitemapStoriesCSharp TVDB TalksWeb3 UniverseJumpstart Blockchain

©2026 C# Corner.

All contents are copyright of their authors.

error: :1 Uncaught TypeError: Cannot read proper on json2-mi
  1. Home
  2. Forums
  3. .NET

error: :1 Uncaught TypeError: Cannot read proper on json2-mi

PP

prabhu p

9yAsked Nov 16, 2016, 8:58 AM933.NET
 
 
 
 
 
function FunctionRetunrSave(jsondata) {
debugger;
$('#<%= TrGrid.ClientID %>').show();
// $("#list1").jqGrid("clearGridData", true);
------- 
$(document).ready(function() {  -- iam  getting that error on this line
------------------
var lastsel2;
jQuery("#list1").jqGrid({
datatype: "local",
colNames: ['StockistCode', 'StockistName', 'DIVISION_NAME'],
colModel: [
{ name: 'StockistCode', index: 'StockistCode', width: 500 },
{ name: 'StockistName', index: 'StockistName', width: 500 },
{ name: 'DIVISION_NAME', index: 'DIVISION_NAME', width: 500 },
],
pager: jQuery('#pager1'),
sortable: false,
viewrecords: true,
caption: "Query List",
width: 1100
}).navGrid(pager, { edit: false, add: true, del: false, refresh: true, search: false });
var mydata;
var thegrid = jQuery("#list1")[0];
if (jsondata != null) {
thegrid.addJSONData(JSON.parse(jsondata.responseText).d);
mydata = JSON.parse(jsondata.responseText).d;
}
var $grid = $("#list1");
for (var i = 0; i <= mydata.length; i++) {
jQuery("#list1").jqGrid('addRowData', i + 1, mydata[i]);
}
});
}
 
How to resolve this error ,Please do need full to me  

Replies

Know the answer? Post it — somebody with the same question will find it here.

Sign in to answer this question

It is the same account you read, post and publish with — and you will come straight back to this page.

Sign inCreate an account