Questions tagged [grid.mvc]

Grid.Mvc adds functionality for creating GridView controls in your ASP.NET MVC 3/4 web application.

Grid.Mvc adds functionality for creating GridView controls in your ASP.NET MVC 3/4 web application. It is a component that allows you easy construction of HTML tables for displaying, paging, filtering and sorting data from a collection of your Model objects.

71 questions
1
vote
1 answer

How do I get functionality in Grid.MVC to work properly with Bootstrap?

I am using Grid.MVC with my ASP.NET MVC 4 Project. I am also using Bootstrap. I am not sure if there is a conflict between the stylesheets, or the Javascript between the two, or if it is something else altogether. I have the datagrid in a…
1
vote
2 answers

Model' conflicts with the declaration Model on Grid.MVC (ASP.NET)

I have a form and using Grid.MVC to display in same page. When I try run my program, it show error : 'Model' conflicts with the declaration 'System.Web.Mvc.WebViewPage.Model'.. Here the sample of my code This is my model public class Course { …
Azri Zakaria
  • 1,324
  • 5
  • 23
  • 52
1
vote
1 answer

Perform a double sort on in Grid.MVC

So I have one grid where I display 5 columns. Out of 5, two columns are Date and Time. User want to do a multiple sort on a grid. Initial sort is by Date when i map the data. So when the page loads it will display the initial data with order by…
arpan shah
  • 277
  • 2
  • 18
1
vote
1 answer

Grid.MVC Single view for CRUD operations

I am using Grid.MVC(https://gridmvc.codeplex.com/) and I need to render a grid and CRUD for the grid in the same view. @model IEnumerable ... ... @Html.Grid(Model).Columns(columns => { columns.Add() …
wickjon
  • 900
  • 5
  • 14
  • 40
0
votes
1 answer

Add footer row to grid.mvc

I want to add a footer row were the user can add a new item like on this image. I am using gid.MVC by Vyacheslav Bukharin. As you can see in this tutorial https://www.c-sharpcorner.com/UploadFile/4d9083/creating-simple-grid-in-mvc-using-grid-mvc/…
J.C
  • 632
  • 1
  • 10
  • 41
0
votes
0 answers

Grid.MVC send selected columns data to Controller

I want to send multiple selected column values to controller. I don't have issues in sending one column data to controller but having trouble sending more than one column data. View: @using (Html.BeginForm("GridView", "Home", FormMethod.Post)) { …
Swas
  • 1
  • 1
0
votes
1 answer

How to display a small rectangle with dynamic color in GridMVC

I have a MVC application where I am populating a grid from my model. A model property "RAG" has a string containing color name. Based on which I am populating the grid with a small colored square. @foreach (var item in Model) { …
Bluemarble
  • 1,925
  • 4
  • 20
  • 35
0
votes
1 answer

MVC.Grid Filter - Date Window/Calendar

I'm using MVC.Grid to populate a table & everything is working nicely. However for the date column I would like to click on the filter icon & have a date window to select form instead of the standard equals/contains option. Anyone done this? FYI -…
righter86
  • 3
  • 4
0
votes
1 answer

paging and sorting issues having multiple grid.mvc grids in one page

I am trying to add 2 grid.mvc in the same page (with the same structure) and fitering, shorting and paging apply to both grids. I cannot to find proper documentation...but i have seen people uses GridRenderOptions.Create(gridName, viewName) shall I…
0
votes
1 answer

Read GridMVC select row in javascript button click

I have GridMVC in project with checkbox. while click button i need to read row which checkbox selected. I tried to read all data from GridMVC in button click but not working. MY Code GRID @using GridMvc.Html @{ if (Model != null) { …
Sathish
  • 4,419
  • 4
  • 30
  • 59
0
votes
1 answer

How to limit the paging size in Grid.MVC

I am new to grid.mvc.I want to show only starting 2-3 grid pages and the last page.like with page sizes but its coming like this without page sizes my code is- public ActionResult VendorOrderListPartial() { var model =…
SHK
  • 1
  • 2
0
votes
0 answers

how to call a javascript function in Grid.MVC

I have MVC Grid and i want to render a actionlink so that onclick of the link a javascript function should call.I have tried this code but its not working please help here.. not working means on view click the page is without…
0
votes
1 answer

Grid.Mvc Ajax JQuery Uncaught TypeError

I've got problems with the Grid.MVC Ajax. I found a project using it and i'm trying to adapt it to my project. The fact is a error appears when the grid is loaded Uncaught TypeError: Cannot read property 'length' of undefined at…
cnz018
  • 11
  • 3
0
votes
1 answer

How can we use MVC grid for inputting data?

I have to use grid not for displaying data, but for input data in MVC in multiple lines. Could you help me to implement MVCGrid for inputting data with out using third parties?
Indira Pranoi
  • 67
  • 1
  • 2
  • 14
0
votes
0 answers

GridMvc.Html on click- Paging or Sorting to hit HTTPPOST

I have a GridMvc.Html in my web app. My Requirement On Click of the Paging\Sorting functionality I want it to hit HTTPPOST Action Method. Currently it hits only HTTPGET. I have tried using jQuery, it doesn't work and I am not sure on it…
jAntoni
  • 591
  • 1
  • 12
  • 28