Questions tagged as 'asp.net-mvc'

1
answer

How to add 2 dropzone in same view

Well I'm trying to add two dropzone on a screen, one is specific for one file (pdf, doc) and another is for attachment (doc, pdf, image etc). Here is an example of using Dropzone: @{ Layout = null; } @Styles.Render("~/Content/dropzonescss")...
asked by 28.09.2015 / 17:01
0
answers

Session is not null, but not logged in

I'm trying to authenticate a page so only a person who is logged in can access a page. I'm using this code. if (Session["user"] == null) RedirectToAction("Login", "Usuario"); But not logged in, it does not enter this if, so I un...
asked by 01.11.2015 / 21:43
2
answers

Create ReportViewer in Asp.Net MVC

How to create ReportViewer in Asp.Net Mvc 4 ? The Report is done, I just need to create the ReportViewer with the options to export pdf, excel and word. Example: <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Ve...
asked by 09.09.2015 / 19:40
3
answers

dynamic dropdown list and bd image return does not work

Dropdown dynamic list and database image return does not work after the application is published in IIS. When I inspected through the browser I had the following error:    HTTP Error 404.0 - Not Found (with following request: link )...
asked by 27.08.2015 / 18:13
1
answer

Uploading Video to Youtube with Asp .net MVC

I'm trying to do an integration with YouTube, but I'm getting the error {"The remote server returned an error: (401) Unauthorized."} I released my api key as the image below and I'm testing this code below, could someone help me by showing...
asked by 17.10.2015 / 21:12
2
answers

Render View to a string

I've got a code right here on the stack to render a view to string. When the view to be converted is in the same context ie in the same folder of the controller it works normally, but if I try to render a view that is in another controller do...
asked by 12.07.2015 / 20:34
1
answer

DropdownList with checkbox

Would anyone know a way to make a DropdownList with checkbox ? I have the following DropDownList: @Html.DropDownListFor(model => model.CD_AFFILIATE, new SelectList(@ViewBag.list, "CD_AFFILIATE","NM_AFFILIATE"), new { @class...
asked by 02.07.2015 / 15:30
0
answers

ReportViewer Design in ASP.NET MVC

I have a page where I need to insert only the ReportViewer drawing in the View and assign the report ready for this ReportViewer How can I do this?     
asked by 14.09.2015 / 22:07
0
answers

Asp.Net Questionnaire

I am creating a system of assessments, where teachers will feed a bank of questions that will later be part of activities that will be made available to students. My question is when it is time to present the activity to the students, where I...
asked by 16.09.2015 / 19:39
2
answers

How to correct this error, and I was able to see this other table in my view?

I need to make a select with two tables and throw the result to a PagedList . But when I do the query, it returns the error:    Can not implicitly convert type 'PagedList.IPagedList' to 'PagedList.IPagedList
asked by 09.06.2015 / 15:22