Questions tagged as 'asp.net'

1
answer

Unable to find part of the route + could not find a part of the path

People! through the following line Me.ReportViewer1.LocalReport.ReportPath = "Presentacion\reportes\AtencionesXProfXFecha.rdlc" I tell you report to open my Reportviewer, the problem is that on a local server if I walk while the other does...
asked by 08.08.2017 / 16:16
0
answers

Select item in DropDownList - MVC

I have problems to recover the information already loaded in a DropDownList I have a view with a foreach of the model @foreach (sfi_1.Models.SFI_IncentivoDet itemInc in incentivos) I have a DropDownList @Html.DropDownListFor(s=...
asked by 08.08.2017 / 17:23
1
answer

Help, how to remove elements from a datalist in c #

I am working on a web application in ASP.Net, and I have a datalist that contains several elements including a label. That label has a data that I get from a database in SQL but, at the time of making the call to obtain the data of that label...
asked by 24.07.2017 / 04:28
1
answer

Download as PDF a webform generated from itexsharp

I have a webform where starting from an image .jpg , the complete with data of the transaction in question using itextsharp and I open it with a windows.open . The problem is that when I click on the download icon, t...
asked by 31.07.2017 / 13:07
1
answer

Avoid duplicating url aspx c #

I would like to ask if it is possible to do the following: Avoid duplicating the same page in the browser tab. I explain, I have a link that is www.registrar.aspx, I want that when you copy the link and paste in another tab do not load and th...
asked by 24.08.2017 / 05:44
1
answer

Add selected items with checkobx in a gridview to a textbox

I have a Gridview where I have several columns, the last one has numeric values, my gridiview poses a checkbox, what I want to do is to do a check in one or more rows, add the amounts to a texbox, try several ways as you will see low but I could...
asked by 23.08.2017 / 20:14
2
answers

error handling in asp

I request your help to be able to handle errors of this type, so that it does not display information that can be used in a bad way, that is, I would like to know how I can make that when these types of errors appear, an error message is l...
asked by 19.07.2017 / 20:45
1
answer

Error retrieving record from the DB in the Data layer for use in an ActionResult within the ASP Controller. Net MVC 5

I am running a billing system in ASP .Net MVC with 3 layers. I just need to record the detail of the sale, because the sale already inserts me. In the case of the detail I extract all the fields that are required to insert the detail, except t...
asked by 25.07.2017 / 06:33
1
answer

ReportViewer problem with time format when exporting to Excel

I schedule with Asp. Net and C #. I have several reports in which columns of a Tablix with information about times appear. My problem is that when exporting to Excel this report does not let me operate with these times. If I have a Tablix...
asked by 18.07.2017 / 09:11
1
answer

How to pass a string of C # (aspx.cs) to a javascript fix for google maps?

I have a static variable in my webform class, which are coordinates for a Google map public static string Query = "19.475 -91.97500000 19.475 -91.98333333 19.4833333 -91.98333333 19.4833333 -92.01666666 19.5 -92.01666666 19.5 -92.025 19.533333...
asked by 18.07.2017 / 01:33