Hi all,
bellow i m writing the code snippet which gives the error as
Microsoft JScript runtime error: Object doesn't support this property or method,
what to do.I m trying for jqgrid in asp.net with MVC without creating Helper.

<script type="text/javascript">
         jQuery(document).ready(function() {
            jQuery("#list").jqGrid({
            url:'/jqGrid/GridData/',
                datatype: 'json',
                mtype: 'GET',
                colNames: ['Id', 'Votes', 'Title'],
                colModel: [
          { name: 'Id', index: 'Id', width: 40, align: 'left' },
          { name: 'Votes', index: 'Votes', width: 40, align: 'left' },
          { name: 'Title', index: 'Title', width: 200, align: 'left'}],
                pager: jQuery('#pager'),
                rowNum: 10,
                rowList: [5, 10, 20, 50],
                sortname: 'Id',
                sortorder: "desc",
                viewrecords: true,
                imgpath: '/scripts/themes/coffee/images',
                caption: 'My first grid'
            });
        }); 

  </script>

please help

Recommended Answers

All 4 Replies

hi,there is code for php mysql iwant this in asp.net MVC.its giving sme error at JQuery as i told in my post.I have tried for 2-3 code samples.

An error occurred in your application. Clear the browser's cache, then retry. If the problem persists, please contact technical support with the following information.

623 Object doesn't support this property or method.


pl provide solution ASAP..

An error occurred in your application. Clear the browser's cache, then retry. If the problem persists, please contact technical support with the following information.

623 Object doesn't support this property or method.


pl provide solution ASAP..

An error occurred in your application. Clear the browser's cache, then retry. If the problem persists, please contact technical support with the following information.

623 Object doesn't support this property or method.


pl provide solution ASAP..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.