webgrid Questions
1
Solved
nemesv's code Conditionally display an image in webgrid - mvc 3 works great in MVC3.
@grid.GetHtml(
displayHeader: false,
columns: grid.Columns(
grid.Column(format: (item) =>
{
if (item.Is...
Allonge asked 4/12, 2012 at 20:55
2
Solved
I can easily hookup a webgrid and add ajax to it using the default settings. But one thing I have been struggling to figure out is how to add a loading indicator when the grid is sorting or paging ...
Elburr asked 22/10, 2012 at 2:46
1
Solved
I've searched the documentation (http://msdn.microsoft.com/en-us/library/system.web.helpers.webgrid.webgrid(v=vs.111).aspx), and found "canPage: false" - which does not work. Saying there is no par...
Forbear asked 23/9, 2012 at 6:18
3
Solved
I am trying to use the new WebGrid in ASP.NET MVC3 and one of the columns I want to display set of link icons that performs various actions (Edit, View, Delete)...
For this purpose I have a HtmlHel...
Consult asked 25/2, 2011 at 21:10
4
I'm struggline with syntax gremlins with the WebGrid. In my normal razor markup i format a date inside my foreach like so
<td>
@String.Format("{0:MM/dd/yy hh:mm:ss}", item.complianceedatet...
4
Solved
I have a ASP.NET MVC 4 project and a SQL View (vvItem).
ItemController
MVCAppEntities db = new MVCAppEntities();
public ActionResult Index()
{
var itemqry = db.vvItem.OrderBy(s => s.name);
...
Bliss asked 19/6, 2012 at 12:27
2
Solved
I am using MVC3 with Razor, for display a grid I am using a WebGrid, and for paging for this very grid I am using the following code.
My problem : The paging-buttons should keep the same size bot...
Saltigrade asked 13/6, 2012 at 7:3
1
Solved
Basically, I'm using WebGrid and I need to filter the results. The first problem I have here is it's my first time using WebGrid and I was hoping some of you could give me a hand with it... So far,...
Arthropod asked 10/2, 2012 at 21:37
2
Solved
I'm developing a web application using MVC3 in VB.NET.
I having difficulty setting a column on the webgrid with the following action links
Edit | Details | Delete
@*@Html.ActionLink("Edit", "Edi...
Maui asked 1/8, 2011 at 4:48
7
Simple Q:How do you I get the textbox to show the value. Code below fail on item.LastName
@model List<Mvc2010_11_12.Models.Employee>
@{
var grid = new WebGrid(source: Model,defaultSort: "Fi...
Subjoinder asked 16/11, 2010 at 14:54
2
I am trying to populate a MVC Webgrid using a DataTable which is built up in the code behind and then made enumerable using the AsEnumerable() extension method.
However, when I call the GetHtml me...
Besprinkle asked 29/5, 2011 at 15:24
1
Solved
In my webgrid I need to display images based on the value .. Code is given below
@model TraktorumMVC.Models.ManagePhotos
@{
ViewBag.Title = "ManagePhotos";
Layout = "~/Views/Shared/_Layout.csht...
Strumpet asked 23/10, 2011 at 12:11
1
Solved
I have a record set that is quite wide (about 25-30 cols)...does MVC3 WebGrid support horizontal scrollbars (or can I house the grid in a html tag/control)?
Francium asked 21/10, 2011 at 3:30
1
Solved
I'm working with the System.Web.Helpers.WebGrid in an ASP.NET MVC 3 Razor project, and I'm having trouble understanding why the format parameter for a WebGridColumn is a Func<dynamic, object>...
Cthrine asked 5/5, 2011 at 17:34
1
Solved
How do I have nested WebGrid with lot of formatting for each column. I can do a nested for-loop, but I need it basically for paging. Or is there any other better option?
Sceptre asked 20/4, 2011 at 15:20
1
Solved
I've been trying to change the format of a single column in a WebGrid without much success. Said column is this:
grid.Column(
columnName: "EmailAddress",
header: "Email Address",
format:(item...
Hodden asked 22/3, 2011 at 16:46
1
Solved
On my page I have two webGrids. When I click on one to sort that column, both of the grids are sorted on that column. Sorting on a column that is only in one, doesn't sort at all.
I noticed the s...
Campestral asked 18/3, 2011 at 9:12
2
Solved
I'm trying to learn how to use Razor WebGrid in MVC3. How does the ajaxUpdateCallback parameter work?
Shockproof asked 3/12, 2010 at 4:52
3
Solved
My data access layer returns collection with rows for single page and total number of rows.
Unfortunately WebGrid component does not allow to specify total number of rows or total number of pages ...
Lubeck asked 15/11, 2010 at 14:47
© 2022 - 2024 — McMap. All rights reserved.