Questions tagged as 'asp.net'

1
answer

I can not open the link for my grid view

I made the following code <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="ID_PTD" DataSourceID="SqlDataSource1" EmptyDataText="There are no data records to display."> <C...
asked by 10.01.2018 / 00:45
1
answer

Asp .Net Dropdownlist Empty After Form Submit

I have a dropdownlist that is populated dynamically after two textboxes have been filled. When I submit the form the dropdownlist is empty even though it is filled dynamically. DropDownList <asp:DropDownList ID...
asked by 10.01.2018 / 14:32
1
answer

Duvida Interface asp.net mvc [closed]

Good evening, I have a doubt, I chose to work with generic interface and my doubt is: Does every entity need to have an interface inheriting from the generic interface? Ex: public interface IPessoaRepositorio : IRepositorio<Pessoa> Or...
asked by 29.01.2018 / 01:19
1
answer

Validate an array of TextBox in JavaScript?

Hello my question is this, I have a js function like this: function testeCampos(elemento) { //Recebe lista de campos para valida��o var camposArray = new Array(); camposArray = elemento; //Recebe campo armazenado no array var campo, recFocu...
asked by 13.12.2017 / 17:49
1
answer

How to format a field with ASP.NET WebForms C #

I need to format TextBox <asp:TextBox runat="server" id="txtValor" MaxLength="20"></asp:TextBox and I am very difficult, first this grid is opened in a modal, that is, when I create the main page I can not get control by javascri...
asked by 11.01.2018 / 21:37
2
answers

Call function passing field

I have a function that, when clicking on the dropdownlist, it checks and changes the mask of a field: function HideTextBox(ddlId) { var ControlName = document.getElementById(ddlId.id); if (ControlName.value == 'P') //it depends on...
asked by 06.12.2017 / 11:30
1
answer

How to do class include in search in Asp.Net MVC

Developed a Code First system in Asp.Net MVC In this development I have created a relationship very much and I want to do a search that includes these relationships in a search, below I describe in a better way what I have developed I have...
asked by 24.10.2017 / 14:06
1
answer

WEBSERVICE ASP.NET Method not found

I have a problem with a webservice that I created and I tried several options and I could not solve it. I have a list of Methods available as shown below WhenIselecttheVAPSmethod,theformforfillinginthefieldsappearscorrectlyandifIfillinand...
asked by 23.10.2017 / 17:28
1
answer

Get row and column item from a dynamic html table

Good morning, I set up a dynamic html table with information from a SQL table. In the following structure: Thistablehasafilterfieldoftheagencieslistedcode: <script> function myBusca() { var input, filter,...
asked by 20.10.2017 / 15:28
2
answers

Div for Name and Email Registration

I'm developing a website using HTML so far, no problem, what I need to do is register the NAME and EMAIL of the site visitor. For this I created an ASP.NET form that performs the procedure and works correctly. My question is how do I click on...
asked by 13.10.2017 / 00:31