joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
75 stars 56 forks source link

Grids interacting with each other on the same page. #124

Open ksesock opened 7 years ago

ksesock commented 7 years ago

I'm attempting to set load another grid with a button on the first grid. This button has a column in it with a value expression as follows:

.WithValueExpression((p => " "));

I'm using a Javascript function to add a listener to each column's button based on the viewDocumentsButton. I've already tried client-side bindings (which won't even fire), the Javascript API, and a few other methods, but no dice.

I'm getting server 500 errors with MVCGrid going to the following address:

http://localhost:50150/MVCGridHandler.axd?documenttablequerypolicystatus=undefined&Name=DocumentTable&_=1497140697668

Obviously, according to the URL, MVCGridHandler.axd is adding the Grid prefix and the Additional Query option to the GET request improperly, before it is adding it again prior to any other query string items. Seems it can't handle the complexity right now.

Just wondering if there's some additional logic that can be added into MVCGrid to allow for more interactivity between grids on the same page.

Thanks!