Questions tagged as 'asp.net-mvc'

1
answer

Creating Models that derive IdentityUser or use the AspNetUsers table

I am developing management software for my fitness club. I have students, teachers and system users. I installed identity. I created a model named Aluno that inherits from IdentityUser public class Aluno : IdentityUs...
asked by 31.08.2016 / 18:10
1
answer

Passing DataTime javascript to ASP.NET MVC Controller by Ajax

I'm having trouble passing javascript date to the Controller via ajax .. Model: public class ModelA{ .... [Required] DataType(DataType.Date)] DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")] Display(Name = "Data de Nascime...
asked by 31.08.2016 / 20:18
2
answers

Error passing values to @Html.DropDownList

My Controller : public ActionResult AssociarDependencia(int codigoMilestone, int codigoAtividade) { try { using (CPMDatabaseEntities db = new CPMDatabaseEntities()) { List<Ativi...
asked by 17.10.2015 / 22:06
1
answer

Create flanges dynamically in excel

I am doing a project in MVC and would like to know if there is any way to create dynamic tabs in Excel according to filters and export it later. Example: If the filter only comes with "School" selected, it creates only one tab called School and...
asked by 29.09.2015 / 16:09
1
answer

Entity can not be referenced by multiple instances

I'm trying to save the data in this method here ... public ActionResult AtualizaInicioAtividade(Atividade atividadePre, Atividade atividadePrincipal) { try { using (CPMDatabaseEntities db = new CPMDatabaseEntiti...
asked by 24.10.2015 / 21:22
1
answer

Enter additional data, from the bank, into the User's Claims. What is the best time or the right way to do it?

I have some extra information that I need to add to user claims that are from other tables and classes. Given the method generated by the ASP.NET MVC template with Identity in class ApplicationUser : public class ApplicationUser : I...
asked by 10.09.2015 / 02:25
1
answer

What are the differences between these NuGet packages?

I use the JavaScriptEngineSwitcher.Msie package in my webapps in asp.net mvc, I found 2 more JavaScriptEngineSwitcher packages what the difference between them What are the pros and cons? JavaScriptEngineSwitcher.V8 JavaScriptEngineSwitche...
asked by 17.07.2015 / 16:41
1
answer

Storing data temporarily in ASP.NET MVC

I need to store some strings temporarily in an ASP.NET MVC application, these strings need to be accessible by the application's server-side at any time, and the application itself will be in charge of undoing those stored strings . What is...
asked by 28.03.2016 / 16:22
1
answer

DropDown Waterfall

My problem is to pass values to controller at the time of an update. I can make the cascading all right. Follow my code. First DropDown : @Html.DropDownList( "idCanalIndicadoresMassivo", ViewBag.idCanalIndicadoresMassi...
asked by 27.11.2015 / 15:27
1
answer

C # MVC5 - Table with CheckBox and Different Actions

I'm working on a project where I have a page that lists some records, of which I'll 'thumb' some to perform batch actions, such as exclusion, status change, etc. How do I send this list of my records to different actions? My list is built l...
asked by 30.07.2015 / 19:24