Questions tagged as 'asp.net'

0
answers

Error converting null integer [duplicate]

I'm doing a conversion of a int value: int.Parse(detalhe.GANO_ID_ATIV.ToString()) But you're giving me an error A cadeia de caracteres de entrada não estava em um formato correto. What could be causing?     
asked by 18.04.2018 / 20:05
1
answer

Error consuming NFe service

Good afternoon, I am doing a webservice in asp.net to consume the Nfe service of the site of the farm, however when trying to add service reference in the project with the url:    link You're giving me an error:    There was an er...
asked by 16.04.2018 / 22:34
0
answers

Controller variable is null in ajax get

I have List of objects that is instantiated when the view is created, when a value in the dropdownlist is selected, I use ajax to make a request to check which of the objects within that List is the corresponding dropdownlis...
asked by 16.04.2018 / 18:19
0
answers

Open modalpopupextender with user control inside

Good morning, I'm venturing into C # programming with webforms, meaning I have virtually no knowledge. My question is this: I have a gridview with 3 columns of clients (name, email, phone), and two buttons (Edit and Remove). I was able to config...
asked by 18.04.2018 / 15:25
0
answers

Execute event by changing text field focus

I have a text field inside a column of my GridView with the following code: <asp:TemplateField HeaderText="Teste"> <ItemTemplate> <asp:TextBox ID="txtTeste" runat="server" Width="100px" Text='<%#Eval("TESTE", "{0:...
asked by 12.04.2018 / 22:15
0
answers

Catch form code when opening modal

I have a modal boostrap that works perfectly, I call it in C # code-behind, like this: ScriptManager.RegisterStartupScript(Page, Page.GetType(), "myModal", "$(function() {openModalExclusao();});", true); And this is the function t...
asked by 12.04.2018 / 17:27
0
answers

Error while deploying with Jenkins

I'm deploying continuous integration and attempting to build the solution on Jenkins. The build will be done in ASP.NET projects, both webforms and mvc. The configuration is this: TheotherMSBuildsettingshavealreadybeenmade.IfIbuildtheproject...
asked by 12.04.2018 / 17:34
0
answers

How to do Table with two foreach close tr / tr Asp.Net MVC

I need to make a table that each line has the information as picture below NoticethatinLot1toCitythedatadoesnotrepeateveryforeach,andonlyfromtheSpeciescolumndoesthedatarepeat,inthisrowtheforeachloops3timesandtheBatchcolumnsuptoCitysuffersarowsp...
asked by 15.04.2018 / 06:00
1
answer

Modal Global Asp.net Webforms

I created a modal, which I will practically use in all forms of the system, but I do not know how to call this modal in forms. This is the code of my modal, the page calls Modal.aspx, and the modal is the #modalexclusao <%@ Page Title="...
asked by 10.04.2018 / 15:51
0
answers

Show Image in DataTable asp.net MVC

I'm having trouble displaying an Image in the datatable in my application. I get the name of the image but it does not display. "columns": [ { "data": "Id", "name": "Id", "autoWidth": true }, { "d...
asked by 08.04.2018 / 16:01