Questions tagged as 'asp.net'

1
answer

Maintain features in a control after doing a PostBack

Greetings. It turns out that I have a Textbox that when it loses the focus it changes its background color, all this thanks to a function that I have over there in JavaScript . Later I have another Textbox that makes a Pos...
asked by 31.07.2017 / 19:47
1
answer

Open a view in a new tab from the Controller in ASP MVC

People, I have a problem, I need to go from the Details view to the DetailsController server, process something and then return to the Details view, but I need to show the content that I processed in a new DetailsPrint window, any ideas...
asked by 08.07.2017 / 21:11
1
answer

Pass the value of a DropDownList to a JavaScript function

I want to pass the value that was selected from a list to a function when that value changes This is the list in question: <asp:DropDownList ID="DdlLista" runat="server" Width="290px" onchange="Alertando();"></asp:DropDownList&...
asked by 14.07.2017 / 18:00
1
answer

Create DropdownList MVC double

I'm working on an MVC ASP.Net project and I need to know how I can perform a view with 2 dropdownlist, in which one depends on another, for example. State and Peoples. Depending on the state you choose then the villages vary, in real time wit...
asked by 10.07.2017 / 14:46
3
answers

Write mail (Mailto) from the client on the server. Eval does not work

I'm trying to place a button on Grid . All correct if I put an email by default. The question is that I want to place each of the rows that corresponds to it (there is already a column with that email). In this case if it works: <d...
asked by 30.06.2017 / 08:38
2
answers

Call variable of a click event

Is it possible to call the variable of a click event, in another click event? If possible ... How do I do it? Vera, I have created an event and within this I have made buttons dynamically, I have assigned the same event to them to do the s...
asked by 30.06.2017 / 21:26
1
answer

ListButton - Dynamic Buttons

I'm making an application where I have several buttons My intention is to create a list of buttons to make them dynamic. understand why I want to place the numbers shown with information that you have of an XML file already serialized a...
asked by 23.06.2017 / 19:01
2
answers

Can a dropdownlist be filtered according to the letters that you enter?

I have the following DropDowList <asp:DropDownList ID="DropAgent" runat="server" CssClass="form-control"></asp:DropDownList> That filled in the following way with c# IList<mg1DAO> resultList = new List<m...
asked by 29.06.2017 / 22:34
3
answers

Show modal when clicking on button created dynamically

I'm trying to show a modal, when clicking on a dynamically created button. If I have it this way it runs but it immediately disappears and I can not do anything since the page goes gray. <script> function ModalGood() { $...
asked by 29.06.2017 / 21:09
1
answer

fileUpload does not load anything, does not throw errors

This file upload, does not load the file, does not throw an error, does nothing, just blink! and it was assumed that loaded, in the 4 labels that I put to verify the load does not throw anything either, it only appears: Label Label Label Labe...
asked by 18.08.2017 / 15:47