Questions tagged as 'asp.net'

0
answers

Globalization of Messages for Active Directory

I have an application developed in ASP.NET and uses Active Directory for authentication. Active Directory error messages, when published on my computer, appear in English, but when published on the server, they appear in English and should appea...
asked by 14.10.2014 / 15:37
1
answer

Add a div for each li tag - HtmlGenericControl

I'm reading an RSS XML and adding each news to a tag <li> I need every <li> tag to be inside a <div> tag, how can I do this through HtmlGenericControl? This way <div>...
asked by 09.04.2016 / 07:23
1
answer

Gridview change Row to ReadOnly

How can I change row of a GridView to readonly? I need to through the values of one of the cells to allow or not to edit the line of GridView .     
asked by 14.04.2014 / 01:19
2
answers

Limit file size

I created a file import method. I would like to know how to limit the file to the server.     
asked by 19.02.2016 / 03:24
1
answer

Hide Row GridView C # / ASPX [closed]

In a% of users, if the user clicked edit / delete their own account, I would like to know how to hide the row or disable the GridView button but only for the logged in user, or click the button to edit / delete an error in order to preven...
asked by 17.06.2015 / 11:59
2
answers

Error in SelectedValue of a dropdownlist in ASP.NET

I have a form in Asp.Net for registration of vehicles, where there are DropDownList that are filled with data from the bank. However, when you click on Write it returns the error    System.Exception: 'IT WAS NOT POSSIBLE TO RECORD   Sy...
asked by 19.09.2018 / 02:50
3
answers

Error while passing SqlParameter

I have a method to return a query , but it is giving error. Class Data.cs: public static SqlDataReader retornaQuery(SqlCommand query, List<SqlParameter> parameters) { try { //Instância...
asked by 08.08.2014 / 18:08
2
answers

How do I leave my DropDownListFor equal to Select

How do I get my DropDownListFor, like this select where the first field can not be selected. <select> <option value="0" selected disabled>Selecionar</option> <option value="1">SEMANAL</option> <option val...
asked by 20.07.2017 / 15:30
2
answers

Clear Modal Bootstrap

How can I clear the modal data, sometimes the user types the data, but does not save, and if it opens the modal again, the data is there, I would like to clear this data, how should I proceed? Sometimes it also happens to save, and when clicking...
asked by 19.06.2017 / 21:56
2
answers

Send message to browser [closed]

I need to send a message like this to the browser: How can I make a site made with C #, ASP.NET and Webforms?     
asked by 08.10.2015 / 23:44