Questions tagged as 'asp.net'

2
answers

the onKeyUp event of the java script influences the function of the CustomValidator

I have a question, the onKeyUp event of the java script influences the ClientValidationFunction property of the CustomValidator.   I'm maintaining a page here in the company, and I need to validate a textbox field to accept only number or empty...
asked by 14.12.2015 / 17:39
1
answer

Connectionstring according to scenario

Hello, good morning! I have a project where there are two scenarios, which is homologation and production. In this same project I created two connectionstrings , setting one for each scenario. In the system these scenarios are divide...
asked by 26.02.2016 / 13:42
2
answers

Sending Model to Controller via Ajax

I have a strongly typed View with a small form and a javascript function with ajax usage: function emitir () { $.ajax({ type: "POST", traditional: true, url: '@Url.Action("EmissaoRapida", "CND")', data: { mo...
asked by 10.11.2015 / 17:10
1
answer

Error while running ReportViewer

I put what he asks for in web.config. Web.Config: <system.web> <globalization culture="pt-BR" uiCulture="pt-BR" /> <compilation debug="true" targetFramework="4.5"> <buildProviders> <add exte...
asked by 16.09.2015 / 15:30
1
answer

Show "Wait ..." message while the page loads completely - jQuery MVC

I have a view that loads a DataTable.Net , where I need to display a PopUp with the message " Aguarde... " . PopUp opens when the page loads, but how do I close it? The way I did, PopUp does not close, what's wrong? Is there any...
asked by 17.10.2015 / 14:46
1
answer

Asp.NET MVC bind checkbox list with string value

I have a list of checkboxes and I need to bind values that are strings (@ item.SelectedValue) with my IEnumerable>. <div class="editor-field perfil-filtro-expander-todasAcoes"> <div class="metro perfil-filtro-expander-overflo...
asked by 21.08.2015 / 17:17
1
answer

Error even with click method

Please can anyone help me with a annoying ASP.NET error? Next ... I have a button: <asp:Button ID="cadastra" CssClass="btn btn-success btn-lg" runat="server" Text="Cadastrar Cliente" onclick="cadastra_Click1" /> And I have the method...
asked by 15.07.2015 / 21:02
1
answer

How to transfer items between ListBox with Double Click

I would like to know how I can transfer items between two ListBoxes, I want the user to double click on an item to be transferred from one listbox to another. I did not find any events in my double-click Asp-ListBox. In the link below you...
asked by 31.03.2015 / 19:29
2
answers

IoC with Ninject

I'm developing an application using IoC and Ninject for dependency injection, and I came across the following problem: When uploading my application to the server I get the following error: Can anyone help me with how to resolve this e...
asked by 17.03.2015 / 23:19
1
answer

How to retrieve the ID of the selected element in asp: Repeater via javascript?

I have a asp:Repeater and need to retrieve in javascript the ID of the item referring to the record displayed in asp:Repeater . See how my asp:Repeater <asp:Repeater ID="rpt" runat="server" OnItemDataBound="rpt_On...
asked by 19.01.2015 / 16:44