Questions tagged as 'asp.net-mvc'

2
answers

MVC - Is it possible to place an EditorFor inside a column in Webgrid?

I have a EditorTamplate and I need to put a EditorFor , using this EditorTemplate , as a column inside Webgrid . How could I do this? I tested the form below and gave the error shown in the image.     
asked by 16.09.2015 / 22:35
1
answer

Ticket Generation [closed]

Hello, I need to generate tickets in an application. I've never worked with ticket generation. Could someone explain to me where to start, what are the first steps, the path of the stones? I did a search and saw that there is a Boleto .Net...
asked by 30.10.2015 / 14:28
1
answer

I can not implement an @Foreach in MVC

I am a beginner in ASP.NET MVC development and need some help. I can not create a Foreach . Below is my code. @foreach (var item in Model.Fornecedores) { <tr> <td> @Html.DisplayFor(modelItem => mod...
asked by 01.09.2015 / 15:12
1
answer

Sending an automatic email from a site

I have a web hosting and my website is already in the air, I would like to know if it is possible to schedule automatic sending of emails at a certain time, through the website. I'm programming in aspx     
asked by 27.04.2016 / 16:55
1
answer

Delete Devexpress controls

I need to remove the DevExpress controls from a project because the project has these components and does not have the software license. I have already deleted the components and references but when trying to compile the error appears: Não...
asked by 06.07.2016 / 18:33
2
answers

Final ASP.NET WebForms?

I would like to know if there is a certain trend in ASP.NET WebForms if "retiring", leaving only ASP.NET MVC, because according to this article the answer would be yes. The author of the article (Ramon Durães) at least in my view is a great conn...
asked by 02.07.2015 / 15:07
2
answers

Error 500 in ajax request with asp.net mvc

Good morning, I have a problem that I can not resolve. I made a simple ajax request in my code to fill in the fields automatically if the cpf entered is already registered in the database. Well, on the day I did everything worked and was w...
asked by 03.07.2015 / 15:13
1
answer

Stored Proc X Entity - Is it a good decision?

On Entity Framework days, doing an MVC project using Stored Procedure is a good way? I've always heard this: If you choose EF, it does not make sense to use SP, but I've heard people say that this is not necessarily an absolute truth. Then comes...
asked by 29.06.2015 / 15:06
1
answer

Required ErrorMessage dynamic content

Using Asp.Net MVC 5 I need to create a required message in the following format:    "Required field! [Registered name]" Normally it would look like this: [Required(ErrorMessage = "Campo de preenchimento obrigatório! [Razão Social]")] [D...
asked by 30.03.2015 / 22:28
1
answer

Class structure in Asp.net MVC

Hello, at one time I've been studying asp.net mvc , and developing small projects, evolving and getting more and more knowledge. A question I have, and I did not find much about it on the internet, was about the best practice for struct...
asked by 09.03.2015 / 00:11