Questions tagged as 'asp.net-mvc'

1
answer

Customize Individual User Accounts

Well, I have an Asp.Net MVC web project that uses Individual User Accounts and I would like to use a specific table in my database and a different class to manage user login. How can I do this?     
asked by 03.06.2015 / 14:35
1
answer

Filter data from a table via a DropDown

I have a table returning the values paid by taxpayers. However I have to return all the data (since the application sums field by field). So far so good. But to show the user, I need to filter the table by date (year), for the user to view th...
asked by 06.03.2015 / 19:35
1
answer

Methods ActionResult Asp.net MVC

If I create a method of type ActionResult with any name and give a return to a View I want to return something, will it work normally or need to have the same name of View ? public ActionResult RetornarIRPJ(string Tipo) {...
asked by 12.08.2015 / 14:45
1
answer

Return and assign to a query result textbox

How to return the result of a query and assign to a textbox in asp.net mvc? The "Type" is a Textbox from another screen, how can I record it and pass it as a parameter to the query? This method that I created the breakpoint does not fall b...
asked by 12.08.2015 / 16:33
1
answer

Get input value of a textbox in asp.net mvc

How do I get the new input value from a textbox when I click the button? I need to make it like a update that would go to the bank.     
asked by 14.08.2015 / 16:20
1
answer

How to list all files from a server directory in ASP.NET MVC?

I want to know how to create a List<string> with the names of files in a given directory. The service is hosted on a shared server, published in my httpdocs . I have several images within httpdocs/img/imagens ....
asked by 15.05.2015 / 04:32
2
answers

Disable DropDownList in View

Class public class ConfiguracaoEstado { .... [Required(ErrorMessage = "Selecione ao menos um estado.")] [Display(Name = "Estado")] public int EstadoID { get; set; } ... } Controller private void createViewBag(ConfiguracaoEstad...
asked by 10.02.2015 / 16:47
1
answer

Disable a button in ASP.NET MVC

I'm developing an application that manages course enrollments, I'm still apprentice in ASP.NET MVC, and I have the following question: In my course screen there is an "enroll" button for the courses listed on this screen. I would like to know...
asked by 02.06.2015 / 20:26
1
answer

Back to previous view with data filled

I have 3 View's, a main (Index) containing fields to perform filters and a search button, another, GridIndex (rendered within the view Index), where records are demonstrated based on the search filters, and a third Information) that is displayed...
asked by 06.05.2015 / 14:16
1
answer

Validation control ErrorMessage

I have the following model: public class Request : IEntity { public int Id { get; set; } [Required(ErrorMessage = "O Centro de Responsabilidade é obrigatório!")] public string Cadastro_Id { get; set; } public virtual Cadastr...
asked by 02.12.2014 / 18:56