We are replacing older grid with JQGrid.
We want to bind grid from code behind including ColModel
and ColNames
.
Column names and column model will be decided run time.
We tried out non-working:
- Using
HttpHandler
+jQuery
Ajax - Using
WebMethods
+jQuery
Ajax
There is not a single working application on internet. Can anyone help out?
System: ASPX web form which load list of records from backend.
We used all the options provided here on Stackoverflow, but no luck.
I have recently implemented a similar functionality in one of my projects using similar tools (ASPX WebForms, WebMethods and jQuery AJAX).
Be sure to read and understand the comments in VB.NET and JavaScript to avoid any errors.
AJAX call in ASPX
HTML markup for jqGrid
Implemented with .NET Framework 4.0, jqGrid 4.6.0, jQuery 1.9.1