Questions tagged as 'asp.net'

1
answer

ASP .NET - Local file directory using Chrome

I have the following code snippet: <div class='upload-border'> <input class='file-upload' id="fileUpload" runat="server" type="file" name='upload'/> </div> I need to get the local directory of the file I just selected....
asked by 29.05.2018 / 13:17
2
answers

ASP Net Core - Server receives multiple GET requests repeatedly

Hello, I have a server hosted on an EC2 instance, Ubuntu Server on Amazon AWS. No one is performing requests to this server, however, logs displayed in CloudWatch indicate multiple GET operations followed by POST, below are operations that are r...
asked by 09.06.2018 / 06:45
1
answer

How to give a POST on the page with UPLOAD property without going into looping?

Looking at the internet I saw some sites saying that when you have a Upload property on the page you can not give POST in it because it looping . I have an application that creates / deletes folders and displays a POST message on the p...
asked by 08.05.2018 / 22:39
1
answer

change text from an asp.net fileupload

Can you change the text inside FileUpload? I wanted to change the text "No file selected"     
asked by 03.05.2018 / 13:25
1
answer

Pass HttpPostFileBase as parameter in the API method

I have an APi that makes employee registration and also a photo, in the parameter I pass the object and an htttppostfilebase type, but when I send to api in my debug it is not even hitting the method, removing the parameter works. p> My API:...
asked by 07.04.2018 / 22:49
1
answer

How to get value from an Html.EditorFor

I have the following command @Html.EditorFor(m => m.DataDoDesligamento) On it is placed a date, and when clicking a button it should redirect to a report, except that I need to pass to the URL the parameter Data shutdown to send to the s...
asked by 11.04.2018 / 22:23
1
answer

Input with uppercase in Asp.net

I'm creating an application in MVC with DDD and in my registration screens, I'd like the string fields like NomeCompleto , Endereço , Cidade , etc to be saved in the inputs in uppercase . I do...
asked by 20.04.2018 / 02:21
1
answer

Command similar to sql convert in C #

I have a return in sql that comes as something like 52,451541554 . This return, if I convert it with the command convert(datetime, DtCriacao, 103) of sql it turns into a date format, but I need to get it myself, which this time...
asked by 04.04.2018 / 13:40
1
answer

Intellisense does not work

I'm using visual studio 2010 and out of nowhere intellisense crashed. I have already turned off and on the computer again, I have restarted visual studio settings, I have already done Ctrl + Shift + Space to activate and nothing resolves ... C...
asked by 26.04.2018 / 16:13
1
answer

Shorten / Camouflage too large text within a grid

I have this line of the grid that takes the description of a message, however it is very large and sometimes it breaks the layout of the grid, I would like to know if it is possible to shorten the message and / or camouflage the message in a lin...
asked by 10.05.2018 / 23:26