Questions tagged as 'asp.net'

1
answer

Redirect non-indeterminate users to Asp.net

I have an ASP.NET MVC page, using entityframework, and I have a login system: public ActionResult Index(LoginModel model) { if (ModelState.IsValid) { try { if (Membership.ValidateUs...
asked by 26.09.2016 / 19:51
1
answer

How to pass variables from C # MVC 4 to SSS SCSS?

I need to dynamically change my CSS files by pulling some data, such as colors, from the database. I have chosen to use SASS in the application, but can I import an application variable into MVC 4 into my SCSS file?     
asked by 11.10.2016 / 21:14
2
answers

Ajax always falls into 'error' even when successful (C # MVC5)

Come on. I have the following method: C # [HttpPost] [AllowAnonymous] public JsonResult PostOnCRM(string textBoxFirstName, string textBoxCountry, string textBoxLastName, string textBoxEmail, string textBoxTitle, string textBox...
asked by 12.10.2016 / 19:23
3
answers

Set minimum number of characters in Textbox

How can I set a minimum amount of characters that should be set to a textbox ? I'm using Visual Studio 2013, creating a site in aspx.     
asked by 29.07.2016 / 21:13
1
answer

What steps to implement SSL / TSL in an ASP.NET MVC application

I'm developing an ASP.NET MVC project and would like to know what processes are required to implement TSL / SSL. I'm really not sure if this is the best place to ask this, but I suppose you might have done this before. Do I need to impleme...
asked by 01.07.2016 / 03:08
1
answer

ModelState.IsValid in register within modal

I'm using a registration form within a modal , however when the condition of ModelState.IsValid is not satisfied the view is returned. But instead of returning the same view before the submission action of the form, it...
asked by 15.07.2016 / 19:40
1
answer

How to load the latitude and longitude pairs for a C # object and work them?

Good evening! I am developing a web page where the user can draw a route. I use google maps api. I need to get the latitude and longitude pairs from the route, load to a C # object and, after working latitude and longitude information, return th...
asked by 25.05.2016 / 23:11
1
answer

Add CheckBox dynamically

I have a project where when I click on a button, I want to pick up the text of 3% with different% and add them to a TextBox . So far so good, the problem comes up when I want to add these% automatic%, for the user to add more rows. He...
asked by 14.04.2016 / 14:40
1
answer

Login page redirect to Recover password?

I am making an application in ASP .NET where I am logging in with drivers. However in the login page when I click on the hyperlink to make recover password the control does not leave the login page and I am not redirected to the page of recove...
asked by 05.04.2016 / 01:48
2
answers

How to get the date of creation of a file that is on an FTP server c #

I'm using framework 4.5 and would like to know how to get the date and time of creating a file that is on an SFTP server, do not want to download it, just know the date and time it was created. I have permission to read the folder and file, th...
asked by 15.06.2016 / 21:30