Hi, I am having an issue working with jaGrid and ASP.NET MVC 2. Everything is working, but when I select a row I get this error on FireBug: uncaught exception: jqGrid - No such method: restoreRow.Debugin Js I realize that error happend here:
I was doing the MusicStore Tutorial, I finished it and now I am trying to improve the tables with the jqgrid, that seems to be great. I found the
Phil Haack blog's post about how to use it.
[URKL]
But I couldn't do a mix of this, I tried to make the storemanager page with the grid of jqgrid instead of the simple table, but doesn't work. This is what I did:
I am using Jqgrid 3.6 beta version with asp.net and i wanna add dynamic context menu on row selection.When ever user rightclick a row in jqgrid he wants to see some menu like file,edit and other menus. I have completed using single page i.e. both the jqgrid and its parent(JS files) are in single page . But in my main Application I have one master page in which ill define all the JS and seperate page for the content(Jqgrid). So what happens is the same code which is running in single page application is not working in the master detail page.
I am desiging a master and details page from a search page..user can search for something and I need to display the result in jqgrid if the result has more than 1 row or record.. if the result is just one record then i have to directly send then to details page by skiping grid page... I do have an action method for results page and one more action method for Jqgrid data..i am trying to check the row count for the database result and trying to redirect to details action results..but its not working at all..and showing an empty jqgrid..
So all the javascript loads fine except for the jqGrid. It's giving me this error: jQuery("#resultsGrid").jqGrid is not a function Which I'm assuming means it can't find the .js source. However, it is in my main Js folder along with all the other goodies, and everything else seems to work fine. Plus, none of the other javascript needs to reference the grid stuff as a source, so if I reference it in the script tag, it will break everything else right?
I am creating an Asp.net web site which will support dynamic data. When I am creating a dynamic web site from Scratch (from template in VS) all is working fine. But when I am trying to add dynamic entity (.edmx) file and running the application I am getting following error
"The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'. "
If you know jqgird well and can help me I would appreciate it much I have this jqgrid, it shows the expected data. I only want the price to be editable, but when I click in the grid it doesn't change to edit mode as it should. Nothing happens infact.
I have 10 pages, each with a jqgrid, and a separate master page. In the master page I use jquery tabs and divs to specify the jqgrid in each page. Everything works fine apart, except that all the pages are loading when the application starts. What I want is for them to load individually whenever a user clicks on a tab. The grid should then load and display the result. I've tried with div onclick (which specifes the page and tab too) but that doesn't work.
I am new to using Jqgrid and jquery.I am not able to bind my json data which I retrive from the webmethod onto the jqgrid.I have also used firebug to cross verify and i am receiving data from it. Some help regarding this will be great. I would aslo like to know if any other references needs to be added.
[WebMethod] public static string GetData() Custome Customer Ctwo = new Customer(); Cone.CustomerID = "100"; Cone.CustomerName = "abc"; [code]...
I downloaded the samples for jqGid and they are all *.js files like the one below.
[Code]....
I know this should be put around a <script> tag inside my .aspx file but what should my markup look like. I assume that "#grid1" is wraped within a html <table> but what would the pager: '#pgrid3' be? jQuery will do the replacement on the client side here.
i want to use jqgrid in my simple Asp.net applicationnow the problem when i am writing this code.
public void GetGridData(string sidx, string sord, int page, int rows) return Content(JsonHelper.JsonForJqgrid(GetDataTable(sidx, sord, page, rows), rows, GetTotalCount(), page), "application/json"); public int GetTotalCount() int totalCount = 0; [code]...
I am only using ASP.net 2.0 C#. I am using jqGrid 3.6 version.I know that there is one property excelexport which need to be set true and we have to add one custom button and the on click of that button i have to call jqgrid.excelExport method. but i have to send on complex object to the page how do i send it? I dont want to send the search parameters as query string because my search parameters are going to be too long.
The jqGrid has been kicking my butt (as well as others on this site). I can't seem to get the JSON data from the webservice to load into the jqGrid when using the addJSONData method.
I am not using MVC just a plain WebProject webservice in ASP.NET 3.5.
I am using the latest version of jqGrid 3.5.
I don't know what to do. I am currently trying to load just 1 row that I am returning a string in my WS like this:
"Page:1,Total:1,Records:1,Rows:[name: Jeff V title: Programmer]"
Which is then passed into my javascript as:
{"d":"Page:1,Total:1,Records:1,Rows:[name: Jeff Vaccaro title: Programmer]"}
I'm currently trying out the jqGrid plug-in. Everything is working well expect for sorting on a specific column. I have an existing table that I'm trying to apply the plug-in to.
When I sort the column, the order comes up as Hello, Loblaws, Wahoo, Bob instead of Bob, Hello, Loblaws, Wahoo It looks like it is sorting the href tag and not the content. Very similar to this problem (just a different plug-in) - Table sorter issue with content
I have dynamic ajax tab container that has several tabpanels.in one of the tabpanel I want to load a JQGrid as user control. but it does not load in my tab panel.
here is my create and load user control in tab panel :
When the rows are not in edit mode the fifth columns shows a link and while editing it shows a dropdown. To select the correct item in the dropdown I use the second column that has the ID that came from the database.
The problem is that after changing the item and saving it to the database, this column value doesn't change. How can I do it after the grid.saveRow(lastSelection, false); ?
I have a asp.net webforms page in which I'm using the jqGrid component. The problem is that thickbox is not working on the links inside jqGrid (ajax).
I got this peace of code on Gupta's blog but I don't know how to add it as I'm using the jqGrid component for ASP.NET.
gridComplete: function(){ // ThickBox - this allows any dynamically created links that use thickbox to work! tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;}