Questions tagged as 'asp.net'

1
answer

Function with if JavaScript

Good afternoon, I have a function in javascript, and it does not enter the IF, the txtTipodePlano field is filled in as "MONTHLY", it should come in, just that it falls on the else, if (document.getElementById("<%=ckPosPago.ClientID%>...
asked by 06.11.2017 / 19:10
2
answers

URL redirection through web.config

I need to perform a redirect, from page http://exemplo/comunicacao/ to page http://exemplo/caminho_novo/comunicacao . I'm doing the following in web.config : <?xml version="1.0" encoding="UTF-8"?> <configuration&...
asked by 02.03.2018 / 17:08
2
answers

Convert DataTable to List C #

I need to convert the contents of DataTable to List , I'm new to C # and I do not know the syntax. public List < VoCliente > ConsutaCliente() { DataTable tabela = BDOracleCliente.ConsultaCliente(); List < VoCliente >...
asked by 07.11.2017 / 13:24
2
answers

How to create a help function

How can I implement a feature on jQuery / Javascript to display a question type as soon as the user clicks on a TextBox and when he clicks on that question mark, a Help how can it fill in the field?     
asked by 25.10.2017 / 19:12
2
answers

Select row from a gridview and pass values to a textbox

I'm having problems trying to find a solution so that when I click on a grid view, it passes the values contained in the line to text boxes. My gridview is populated, but I need to find a solution so that when I click the row, it executes a f...
asked by 17.11.2017 / 18:23
1
answer

Using SQL Query with Asp MVC5

How do I execute a SQL query with ASP MVC5 + Entity? To create the MVC I used the entity's own option (I created the model, context) and already generated the controller and the views Follow the controller code: using System; usi...
asked by 15.01.2018 / 18:50
3
answers

Event onclik button in dynamic html table StringBuilder

Good afternoon personal forum, I'm trying to add a button in a dynamic html table to redirect to another page passing parameter by url. But I'm not getting via javascript. I am using ASP.NET C # WebForms. I have the following function to write v...
asked by 20.09.2017 / 20:49
2
answers

Force update of an element in HTML / Javascript / ASP.NET

Greetings, friends of Stack Overflow. I have a question that involves updating the data entered by the user. On the site I'm working on, the user has access to a text editor to change the labels on certain photos. When editing the text and su...
asked by 18.12.2017 / 17:47
1
answer

How to select a string in resx (internationalization) without using the static method

I have .resx files where I keep strings in English and Portuguese, in my database I have the following table: AndIwanttochangethedescriptionoftheplansequaltothefirstrecordinthistable: WiththisIcangetthisstring"plano_1" directly from my resource...
asked by 03.07.2017 / 16:31
2
answers

Refresh TextBox without PostBack

I need to update the textbox change when the textbox receives value from the client, it is populated, I use this function inside the textbox to receive value from the client in the TextChanged event: protected void txtvalordocliente_TextC...
asked by 07.06.2017 / 14:46