Click here to Skip to main content
15,892,965 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to populate a jqGrid in a normal aspx page..
So i have a Method in codebehind page to get data for the grid from database...
Now i want that data to be returned to jquery script of the grid.
I am not able to use JsonResult class and JqGridJsonResult() method.. Because System.Web.Mvc namespace is available in MVC alone..
So if want to use it in normal code behind page, What i have to do??
Is there any other way to populate the Grid?
Posted
Updated 4-Jun-12 20:41pm
v2
Comments
Rajesh Kariyavula 5-Jun-12 6:41am    
I suppose that you want to pass the values that you got from DB to JavaScript function, Is that correct? If yes what is the type of the result that you want to pass

1 solution

http://blog.prabir.me/post/Using-jqGrid-with-ASPNET-Web-Forms-e28093-Part-I.aspx[^]

just googling 10 secs :)

notice you can use any json serialization library also to accomplish this.
 
Share this answer
 

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