Questions tagged as 'asp.net-mvc'

1
answer

Menu with Bootstrap Internet Explorer 9

I have a page that works normally. But I accessed the application through Internet Explorer 9, and the menu behaved as if it were a Mobile menu. Follow the image to better understand: Otherbrowsersworknormally.I'musingBootStrap3andJQuery2....
asked by 04.02.2015 / 17:49
2
answers

Format date in ViewBag

I have a ViewBag returning two dates in a DropDown, but they are returning with the same formatting that was saved in the database (MM / dd / yyy HH: mm: ss). I need them to return in the pattern (dd / MM / yyyy). My ViewBag looks like this:...
asked by 30.01.2015 / 17:26
1
answer

ActionLink in a list without reloading page

I have a conventional list generated by Asp.Net MVC. In the items I placed an ActionLink to change the status of the Pending to Finished item. Whenever I click the link it reloads the page. As my list exceeds the height of the screen, when I cli...
asked by 07.07.2015 / 15:56
1
answer

DLL to encrypt a string

How to create a C # DLL with Interop to traffic data between applications using encryption / decryption of a string that will be sent and received?     
asked by 16.01.2015 / 14:46
1
answer

Connecting to database using Asp.net MVC

My doubt, perhaps not a bit technical, but rather of better concept, usability, or advantages. I have a good experience in ASP.NET development using webforms, and I am looking to expand my knowledge by studying asp.net mvc, and asp.net web ap...
asked by 30.12.2014 / 19:18
1
answer

Restart count when changing year

I have a view that returns me data that the taxpayer paid the pension in the current year, where I return the monthly payment of the same. I need to complete the sum of the months, creating a monthly subTotal. With help I managed to work, leavin...
asked by 05.03.2015 / 22:05
1
answer

Display selected Select value

I have this dropdownlist: <select> <option value="0">Selecione os capitulos</option> @foreach (var item in ViewBag.Capitulos) { <option value="@item.IdCa...
asked by 23.11.2014 / 03:14
1
answer

Rendering WebForm in ASP.Net MVC

I need to call a WebForm from an Action in controller , I read a lot on the internet but could not get it to work. I followed the example in this link , where it asks to change the inheritance of WebForm System.Web.Mvc.ViewPage , if I...
asked by 14.11.2014 / 16:23
1
answer

Is it possible to do PhoneGap in a single project together with Asp.Net MVC 5?

I wonder if there is a DDD Design Solution with two View Ports , one for mobile application using PhoneGap > and the other MVC 5 . I want to make an Activity Management system that will be accessed by my leaders. You can make additions...
asked by 29.01.2015 / 18:33
1
answer

Problem with select in table with relationship many to many

I have the following scenario: public class Pedido { [Key] public int Id { get; set; } public virtual ICollection<ProdutosPedido> ProdutosPedidos { get; set; } public DateTime CreateDate { get; set;...
asked by 06.11.2014 / 21:27