Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
ASP.NET MVC JQGrid error on binding....
16/09/2011
19:31
Avatar
Eric. C
United States
New Member
Members
Forum Posts: 2
Member Since:
16/09/2011
sp_UserOfflineSmall Offline

So i'm using the JQGrid and it works great for the most part.  But I'm seeing random crashes in the Binding for the datasource.

Specificially i'm using a WCF Service to fetch my IQueryable<T> and then I'm simply attempting to bind it.

The error I'm getting is "object null" and its being thrown from with in the triand assembly. 

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a()   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)   at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)   at lambda_method(Closure , ControllerBase , Object[] )   at ABC.WONK.Admin.Controllers.OrganizationsController.SearchGridDataRequested() in C:\Source\kss\regportal\portal.admin\Controllers\NiftyController.cs:line 172   at Trirand.Web.Mvc.JQGrid.DataBind(Object dataSource)   at Trirand.Web.Mvc.JQGrid.DataBind()   at Trirand.Web.Mvc.JQGrid.GetJsonResponse()   at Trirand.Web.Mvc.JQGrid.FilterDataSource(Object dataSource, NameValueCollection queryString, IQueryable& iqueryable)   at Trirand.Web.Mvc.Util.ConvertToJson(JsonResponse response, JQGrid grid, DataTable dt)at Trirand.Web.Mvc.Util.PrepareJsonResponse(JsonResponse response, JQGrid grid, DataTable dt)

Possible null value passed in the IQueryable<T> result set?  I looked and when I was looking at the data it was no null values.

Could this be a timing thing?  I was thinking perhaps my WCF results were comming back to late...but that would have to be a very rapid timeout on the controls part.  It happended with in 2 seconds of page creation. 

Cool

16/09/2011
19:39
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

It seems to me that you posted the issue in the wrong forum. It can be that you have WCF or MVC problem. In the case you can post you question on http://stackoverflow.com/ for example.

If you use commertial version of jqGrid and thy think that your problem is really connected with jqGrid you should post the description of the problem in http://www.trirand.net/forum/.

Here is the forum for open source JavaScript version of jqGrid.

Best regards
Oleg 

16/09/2011
19:50
Avatar
Eric. C
United States
New Member
Members
Forum Posts: 2
Member Since:
16/09/2011
sp_UserOfflineSmall Offline

OlegK said:

It seems to me that you posted the issue in the wrong forum. It can be that you have WCF or MVC problem. In the case you can post you question on http://stackoverflow.com/ for example.

If you use commertial version of jqGrid and thy think that your problem is really connected with jqGrid you should post the description of the problem in http://www.trirand.net/forum/.

Here is the forum for open source JavaScript version of jqGrid.

Best regards
Oleg 


Thank you OlegK.

My bad I will definately head over to the Trirand forums 🙂

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
53 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information