0

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

Edited by __avd: Added [code] tags. Encase your code in: [code] and [/code] tags.

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by zahir_palsaniya
-1

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.

0

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..

-1

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..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.