Questions tagged as 'asp.net'

0
answers

Error mod_mono apache2

I'm migrating an application in asp to a more current version of mod_mono in an Apache server, but I miss this error: System.IO.FileNotFoundException Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyT...
asked by 11.02.2016 / 22:35
2
answers

Problems with [Authorize] custom

I have a% custom [Authorize] that extends from AuthorizeCore in which I do a validation to return a true or false , until there all right, if I enter my page and I'm not logged in, it redirects me to my default page. But...
asked by 26.06.2018 / 14:24
4
answers

Validate a drop-down list with a button that opens a modal window in bootstrap

I have a button that displays a modal window with bootstrap. <button id="btnPrueba" type="button" data-toggle="modal" data-target="#VentanaProducto" style="height: auto; background-color: lightgray;"> But now I need to eval...
asked by 21.03.2018 / 15:36
2
answers

The recipient did not understand the heading 'Security' Web Service

I am consuming a web service but I get the following error:    The recipient of this message did not understand the 'Security' heading   from the namespace   ' link ',   so the message was not processed.       This error usually indicates th...
asked by 21.11.2017 / 15:03
2
answers

What is the best way to convert a string to Capitalize? [duplicate]

I have a string which I need to convert its value to capitalize . Example: string cadena = "HOLA MUNDO"; I need to return the value like this - > Hello World What would be the best way to achieve this?     
asked by 15.05.2018 / 20:58
2
answers

Show message "no results" in gridview

How can I display a message so that when I search in a datagridview if there are no results the message is displayed.     
asked by 09.12.2016 / 21:20
2
answers

Configuration error authentication mode="Windows"

Good morning, When I publish my ASP.net application on the server, I get the following error, Configuration error authentication mode="Windows" This is part of my Web.config <system.web> <!-- mode=[Windows|Forms|Passport...
asked by 27.04.2016 / 16:22
2
answers

how do I set the number of decimals I want to show from a double in c #

My problem is that I am using Math.Round and it is rounding, what I need is that it only shows me a single decimal without being rounded This is my normal result double rap = 0; rap = (11300 - 8508.54)* 0.015); That this gives me...
asked by 12.11.2018 / 20:45
2
answers

How do I use a textbox for a date query?

I'm trying to work in a query to find results by date range [from - to], so I use a textbox so that enter these values and put them in dd / mm / yyyy format with javascript, my problem is that when I give it to look for it, it marks me the follo...
asked by 12.09.2018 / 20:28
1
answer

How to change the name of the cookie that the token creates in the forms?

I have a form where I occupy @Html.AntiForgeryToken() which creates a cookie of name __RequestVerificationToken which I want to hide. For this I thought about changing the name of that cookie to another one so as not...
asked by 13.06.2018 / 21:52