Questions tagged as 'asp.net-mvc-4'

0
answers

C #: Date format error in wGrilla.GetHtml

I have an error in the following line of code: Model.wGrilla.Column(format: (item) => Html.Raw(item.BIRTHDATE.ToString("dd/MM/yyyy")), header: "FECHA") The error message you show me is this:    The best overloaded method match for  ...
asked by 22.03.2018 / 22:28
0
answers

I need to load a menu from the database in the view of my .net mvc project

I have a table menu in Sql Server and I'm trying to do a recursive function that loads the menu with all of its children, now my table menu has the following: Where ParentID has the id of the parent that corr...
asked by 16.01.2018 / 15:31
0
answers

Error: System.Net.Sockets.SocketException: Unknown host. In asp.net

Dear, along with saying hello I wanted to ask the following question to the problem that came up: I happen to be doing some tests to work with SignalR, in which the results are successful when I do the tests on localhost, but when I publish t...
asked by 19.12.2017 / 17:26
1
answer

control the access of users to a [closed] action method

I have a web system that provides access to 3 types of user (Student, Teacher and Admin) in which I want to restrict the access of certain users to an ActionResult of the controllers.     
asked by 11.09.2017 / 08:13
0
answers

Load Data in Popup when clicking on a link

Dear, my problem is this, I am developing a module in .net mvc4, with foundation framework. I need to do the following: show a table, which shows a consolidated data of people (Heads), by clicking on the name of the person, displays a popup with...
asked by 27.06.2017 / 21:19
2
answers

Showing the data that brings the stored procedure to an ASP.NET MVC 5 view

I'm trying to show what my stored procedure brings and I want to send it to view: This is how I sent it: var Fechainicio = new SqlParameter { ParameterName = "inicio" , Value = FechaDesde };...
asked by 24.10.2018 / 15:47
1
answer

Independence in the Context of a view using Partial or RenderPartial asp.net mvc

Hello, people could help me See if I explain: I have an Index view that has a table and includes several times the same partial view (prev call) in the spaces of the table, each (prev.cshtml) with different size, within the partial view (p...
asked by 06.01.2018 / 15:27