I am using Kendo UI in a MVC 4 project, I made the settings in BudleConfig:
bundles.Add(new ScriptBundle("~/bundles/kendo")
.Include("~/Scripts/kendo/2013.2.918/kendo.all.min.js")
.Include("~/Scrip...
Ban.cs
public partial class Ban
{
public int IdBan { get; set; }
public System.DateTime DataBan { get; set; }
public System.DateTime DataDesban { get; set; }
public int Usuario_IdUsuario { get; set; }
p...
I have the following template (DTO):
public class PessoaAcesso : Pessoa
{
[Remote("LoginUnico", "Pessoa", ErrorMessage = "Esse Login já existe! Escolha outro.")]
public virtual string Login { get; set; }
...
}
In my ApiControlle...
public PartialViewResult Index(string quantidadeRegistro)
{
int qtd;
int.TryParse(quantidadeRegistro, out qtd);
var bdPedido = PedidosAplicacaoConstrutor.PedidosAplicacaoEF();
var bdCliente = ClientesAplicacaoC...
Inquiry to bring users in.
public IEnumerable PopulaTabelaUsuario()
{
var banco = new DbBancoContext();
var listaUsuarios = (from l in banco.USUARIOS_PROCESSO
select new{ l.ID_USUARIO, l.NOME_USUARIO }).ToList();
retur...
Good evening,
I'm working with Bootstrap 3 tabs, and I have the following structure:
View.cshtml
<div class="tab-content">
<div id="tab_cooperado" class="tab-pane fade">
@{Html.RenderPartial("PartialView", new Mod...
Hello, I'm trying to open an ASP.NET MVC 5 project and it gives the following error:
Can anyone help me? I have already installed the updates and MVC 5. I installed the web pages through NuGet: Install-Package Microsoft.AspNet.Razor -Versi...
I have a class library where I added a resx file, does anyone know how I can at runtime put this resx on app_globalresource so that it is available in all my app web mvc ?
Next, I'm working on a new project asp.net-mvc , and I have 3 classes.
public class Anuncio
{
public int AnuncioID { get; set; }
public string UsuarioID { get; set; }
[Required]
[MaxLength(255)]
[Display(Name="Título")...
I have a project called Billing. Inside, there is a folder called Models where my models are (only 2). One of them is called an invoice and I need to fill a table (bootstrap) with the data of this model. I need to do something like this, unless...