Questions tagged as 'asp.net'

0
answers

Open several PDF Crystal Reports in Emerging windows

I work with asp.net and C #, I am trying to generate 190 reports and only one is being generated and when trying to generate the following, I get the following error: "The server can not attach a header after sending the headers HTTP. " invest...
asked by 31.08.2018 / 23:07
0
answers

How to make a waterfall dropdownlist ASP.NET MVC5

I have the following code, I need that according to the selected brand shows me the class, ayudaaaa is urgent. CONTROLLER public IActionResult Index() { //Marca Task < ServicioMVCDatoAuto.TiposReferencia> TareaMa...
asked by 24.08.2018 / 17:38
1
answer

How to implement search method with Ajax and JQuery

I tried to implement a simple search method with ajax and Jquery, to search for entities "FitnessGoal" which are created by the user. Try to implement it by myself but when searching does not return anything, are my ajax code and method correct?...
asked by 21.08.2018 / 20:35
0
answers

How to create a Countdown timer that shows the time remaining between two dates

I am trying to create a timer that indicates the time that remains between the start of a date (StartDate) and the end of a date (FinishDate). The entity FitnessGoal has a beginning and an end, that is, their respective startdate and finishd...
asked by 21.08.2018 / 16:05
0
answers

How to avoid refreshing the entire page by doing __doPostBack?

I have a call to an ASP button by means of __doPostBack, as you can see in the attached code, also try with trigger, but I still have the same result ... the entire page is refreshed. How can I update only an update panel where the ASP button...
asked by 20.08.2018 / 20:17
0
answers

onServerClick when clicking on an html span element

I have a tag and I would be interested to click on it to run an event on the server (onServerClick) I have the following: <span style ="text-decoration:underline; cursor: pointer;" id="link1" runat="server" onServerClick="linkModificar_C...
asked by 31.08.2018 / 17:16
0
answers

Problems with EF in the following code

I have a method which is called in the constructor of my controller Home in the created roles when starting the application and assigned a specific role to a user, it happens that I do not create any record in the db, in addition to debug the co...
asked by 17.08.2018 / 21:53
0
answers

Return value to an input text from a controller

I am new to asp.net mvc, I am creating a "fitness" web app that allows you to calculate BMI and BF% (percentage of body fat). The user will see this: <h1>Calculate</h1> <h2>BMI</h2> <form> <table>...
asked by 17.08.2018 / 18:13
0
answers

export a query from sql to excel but without the help of ClosedXML.Excel;

I had been using this code to pass the gridviews to excel but now I want to pass a query:  Dim dtM As New DataTable             Dim sda As New SqlDataAdapter ()             SqlStr="SPAparticipantSistance @ TYPE = 7" 'this is the query I want to...
asked by 17.08.2018 / 19:15
0
answers

DropDownList AutoPoskback does not work in UpdatePanel

There is a user control which implements a user control, this internal user control has an UpdatePanel and a DropDownList with the AutoPoskback property equal to true . The main user control has a button that performs the corresponding validati...
asked by 16.08.2018 / 01:48