How to format the Value column of the WebGrid?
Example of 3000,000 for 3,000.00 ?
@grid.GetHtml(
tableStyle: "webgrid",
headerStyle: "header",
alternatingRowStyle: "alt",
selectedRowStyle: "select",
footerStyle...
Well, I have the following problem.
I have to use a function in JavaScript or JQuery to add new fields to populate and save in the database.
In these fields I have to use a DropDown, but I do not know how I'll get the data from the database....
My problem is similar to this question:
Question Stackoverflow
But in this case the Json object is used to populate the table.
Controller
public ActionResult GetDadosItensVenda(int? Codigo)
{
try
{...
Hello
I am developing an academic system and I need a chart with the wrong questions per student subject. I have a list with Themes (which would be the x axis) and qtdErradas (which would be the y axis of the chart). My problem is with this p...
In View main, Index.cshtml , I load a partial view where it has a model . How do I make the Index call this model so I can serialize and send it to an action controller ?
Follow the example below:
View Principal.cshtml
@se...
In view razor of asp.net mvc I have a dropdownlist with the following code:
@Html.DropDownListFor(model => model.Banco, (SelectList) ViewBag.Banco, new {@class = "form-control"})
Even if you select the value, when it...
I need to make a foreach inside another but are two tables
one is called categories and the other is a galerya, I need to return all galeryas within each category only the category name only appears once, here's my code
(var db = new DBContext...
Doubt, am I using the wrong version?
The image shows the Version Information: Microsoft .NET Framework Version: 4.0.30319; ASP.NET Version: 4.0.30319.34274
On my hosting server informs this:
ASP, Asp.NET 3.5, Asp.NET 4.0, Asp.NET 4.5
Ajax...
I'm repeating the Letragroup in the View, how can I use the .first in the query in the controller?
View Error:
link
View (details):
@model IEnumerable<WebAppCatechesis2.ViewModels.GrupoViewModel>
<dl class="dl-horizontal"&...