Questions tagged [mvcgrid]

MVCGrid is Telerik's HTML5 grid offering.

http://www.telerik.com/aspnet-mvc/grid

47 questions
15
votes
2 answers

ASP.NET MVC 4 Datagrid

Im new to ASP.NET MVC and want to do a simple page that retrieves some data using Entity and displays it in a paging datagrid. Can anyone point me in the right direction or to a tutorial etc. Its just a proof of concept for retrieving a list of…
Dale Fraser
  • 4,623
  • 7
  • 39
  • 76
14
votes
1 answer

ASP.net MVC making cell contents as link in Grid.MVC

I am developing an ASP.net MVC application. Earlier I used the following code to display a table of products. foreach (var item in Model) {
@Html.ActionLink(item.productName, "ViewProduct",…
RandomUser
  • 1,843
  • 8
  • 33
  • 65
8
votes
6 answers

Sorting/ Filtering attributes not working in Grid.Mvc

The code for my Mvc Grid is shown below but for some reason the sortable and filterable attributes don't work as stated in the codePlex documentation. I am developing in .NET 4.5 using html5 and…
Mike
  • 329
  • 1
  • 2
  • 12
4
votes
2 answers

Can't set display format to 2 decimal places when using mvc6 grid

I need to display some average sums of currency values in my .net core asp mvc project. I am using mvc 6 grid to display the data, and I have tried these solutions: [DisplayFormat(DataFormatString = "{0:C}")] public double? AverageCost { get; set;…
Bassie
  • 9,529
  • 8
  • 68
  • 159
3
votes
1 answer

How do i send an additional parameter to my MVCGrid.Net RetrieveDataMethod?

I'm using MVCGrid.net (http://mvcgrid.net). First of all, fantastic grid tool! I have my grid working properly, however when i'm populating my grid I need to pass an additional parameter to my RetrieveDataMethod. The value i need to pass is part of…
Donuts
  • 2,185
  • 3
  • 20
  • 31
3
votes
1 answer

MVC Identity 2.0 and managing roles

I have implemented the Identity 2.0 membership and starting to regret it now. But, I'm so deep in this project there is no turning around. My issue is probably simple to most so hopefully I can get some assistance. I have a grid control in my…
JoshYates1980
  • 3,476
  • 2
  • 36
  • 57
2
votes
1 answer

Paging is not working on GridMvc its Reloading the page

i have two method httpget as public ActionResult MiReport() { return View(); } and httppost as public ActionResult GetReportView(string startdate,string enddate) { ReportModel Obj = new ReportModel( startdate,…
Ashish
  • 31
  • 4
2
votes
1 answer

MVC WebGrid Sort only the elements present on the page

I am trying to make a MVC WebGrid, I am able to get the grid working, but facing an issue with the sorting. I have my rowsPerPage set to 5 and there are total 7 records. When I am on first page, it displays first 5 records; and when I sort on the Id…
2
votes
0 answers

How to pass json filters to mvc grid without form

I am using ajaxify for refreshing mvc grid. $("[data-gridname='testGrid']").gridmvc(); pageGrids['accountAjaxGrid'].ajaxify( { getPagedData: $('#pagingActionUrl').val(), getData:…
2
votes
2 answers

Time Filter in GridMvc

I am not getting time filter properly, it displays calendar instead of time. however calendar should only be displays when date filter is selected. below is code for my view I have also attached image. I downloaded the sample source code from the…
Hammad Bukhari
  • 459
  • 2
  • 11
  • 30
2
votes
3 answers

Changing Background of GridMvc Column on Condition

I am using Grid MVC in asp.net mvc project . I get requirement where i need to change the background color of row if there is certain condition e.g. column name "Response" equals to "ERROR" then i need to change row color to red Index.cshtml @model…
Hammad Bukhari
  • 459
  • 2
  • 11
  • 30
2
votes
1 answer

Invalid Arguments using MVC Grid component Component?

I'm new to MVC Application development and am trying out the MVC Grid component. As shown in the link, I have my User model: using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using…
Analytic Lunatic
  • 3,853
  • 22
  • 78
  • 120
2
votes
2 answers

Asp.net MVC 4 Ajax.BeginForm submit + mvc.grid - page reloading

I'm currently working on a ASP.NET MVC 4 project as a trainee and I'm trying to implement an admin panel. The goal is to show all the users on a grid (MVC.GRID) and edit them on the same page. I've managed to show all the users on the grid and once…
Nixxing
  • 23
  • 1
  • 1
  • 5
2
votes
1 answer

Adding a link button in the footer of WebGrid Mvc3

I have inserted the link buttons "Add New Record" and "Save All" at the bottom of my Webgrid. But I want them to be in the footer of the WebGrid. I have searched for this a lot, but found nothing. Can someone tell me how to add a link or button in…
Sudhakar Byna
  • 135
  • 1
  • 3
  • 15
1
vote
4 answers

Filtering attributes are not visible on page in Grid.Mvc

I am displaying Grid using Grid.Mvc, sorting & paging are working but filters are not shown on the grid though I added ".Filterable(true).WithMultipleFilters()" to Grid. Below is my code. GridMvc.css is in place, Did I missing something? Thanks in…
Chaitanya
  • 37
  • 2
  • 10
1
2 3 4