Click here to Skip to main content
15,886,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I've JQgrid in ASPX code and provided URL as "defult.aspx/BindBuInfo"

C#
[WebMethod]
        public List<Dictionary<string, object>> BindBuInfo()



BindBuInfo is returning
C#
List<Dictionary<string, object>>


in JQGRID, i've done below coding

JavaScript
datatype: "json",
                mtype:'POST',
                ajaxGridOptions: { contentType: "application/json" }, 
                serializeGridData: function (postData) {
                    return JSON.stringify(postData);
                },


the below are script file are referred in aspx.cs

HTML
<script src="Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="Scripts/jquery.jqGrid.min.js" type="text/javascript"></script>
<script src="Scripts/grid.locale-en.js" type="text/javascript"></script>
<script src="Scripts/jquery-ui.min.js" type="text/javascript"></script>
  <script src="Scripts/jquery.jqGrid.js" type="text/javascript"></script>


but JQGRID is not showing any data?

Is anybody have solution for this?

Thanks in Advance..

K1988.

What I have tried:

i'm new to Jqgrid use and unable to take next step.
Posted
Updated 8-Feb-16 2:32am
v2
Comments
Sergey Alexandrovich Kryukov 8-Feb-16 10:33am    
Why having a section "what I have tried" without telling us what have you tried.
We got a number "questions" with the same structure and attitude, and I wonder: is it the same person under different accounts? The common characteristics are: no effort, having not clue on what to do, something creating a lot of doubt if you should do this work at all...
Such questions are not answerable, it the answers cannot be useful to anyone. Just one advice: get to work.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900