Questions tagged as 'asp.net'

1
answer

Error Customizing MVC5 Routes

The error occurs in the RegisterRoutes method in RouteConfig.cs on the routes.MapMvcAttributeRoutes(); When running in the browser: * The built-in constraint of type 'DefaultInlineConstraintResolver' could not resolve the follow...
asked by 18.01.2018 / 21:55
1
answer

Clear label when opening homepage

I am doing a site in ASP.NET using vb and when I do refresh I delete the data from the textbox's and also wanted to clean what is written on the label Can you help me? I'm using the code below and it's not working Label10.Text = "" The...
asked by 24.04.2018 / 11:12
1
answer

Doubt Tag Form

I have two form tags on a page to validate some fields that appear in modal, the first form , is just to search in grid . The% open% modal, and the remove filter function work perfectly. However, when opening the modal, the b...
asked by 25.04.2018 / 21:46
2
answers

ASP.Net - Make Page.UICulture return culture in "pt-BR" format

Globalization was defined in Web.config : <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="pt-BR" uiCulture="pt-BR"/> However, when I read Page.UICulture , I get "Português (Brasil)" , I want to return...
asked by 24.07.2017 / 15:00
3
answers

More attributes in AppSettings

Is it possible to add other values to AppSettings without breaking with the application? Default values: <appSettings> <add key="Nome" value="ValorTeste" /> </appSettings> I would like to leave it like this...
asked by 03.05.2017 / 19:30
1
answer

How to access folders on external network with C # asp.net?

When I try to read files on another network (which requires authentication), the error below occurs. The same problem I also have when I try to access protected folders. Does anyone know how I can solve this? DirectoryInfo dirE = new Direct...
asked by 26.10.2016 / 15:21
2
answers

Exception with timestamp in the database

I want to separately insert the time and date into the database, which have the timestamp and data fields, respectively. And I have the following code to add the fields: sqlInsertCabecalho.Parameters.AddWithValue("@colaborador",...
asked by 22.04.2016 / 16:19
1
answer

ASP.NET vs Intraweb

As I come from PHP and I'm starting now with ASP.NET and I'm really raw, I'm going to need to argue about .NET for one of the owners of the company, and it develops in IntraWEB. For my vision of WEB, the structure of .NET is much better to work...
asked by 18.01.2016 / 14:09
2
answers

Problem with Jquery dialog

I have a ListView that creates some buttons dynamically according to IdPassoWorkflow, and according to the step I need presents a message to the user confirms whether or not to execute the action, except that the Jquery dialog wind...
asked by 01.12.2015 / 18:56
2
answers

Get customer information

This may sound like a silly question, but I'm kind of in trouble for a problem here. I need to gather through the browser some information that helps me identify the client that is browsing. I already know the MAC address I will not be able t...
asked by 01.03.2016 / 00:10