Questions tagged as 'asp.net'

0
answers

Passing Javascript values to an Asp.net class

I need to create some buttons dynamically in C # and pass them some event, which when I click them pass two values to a select variable to bring quantity x of lines of it class with select public DataSet MaxId() { cldBancoDados cldBanco...
asked by 08.10.2017 / 16:15
0
answers

The insert is not working / Excel

I created a process to make a Insert in a worksheet in EXCEL but the data is not being inserted. It returns no error. Code: private void AtualizarPerformanceEntrega() { try { DataTable dt = ExportPerformanceEntrega...
asked by 06.10.2017 / 16:46
1
answer

Returning to the main page when accessing an invalid url

How do I redirect the user to the main page of the app if it tries to access an invalid url . For example, www.teste/teste.html , in case the page does not exist then system directs the user to www.teste/index.html , in case I am us...
asked by 12.09.2017 / 18:01
1
answer

Master page does not load in ASP.NET

My master page does not load in ASP.NET. I know why it does not carry, I do not know how to solve it. The master page is in a folder behind the page "isaque.aspx". Code: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="isaque.aspx.cs...
asked by 23.08.2017 / 13:39
1
answer

Error trying to validate field with required="required"

I'm trying to validate my fields with required="required", in several modalities, it happens that the page has tabs, and when I try to use required="required", nor does the modal open (remembering that the fields I need validation, are textbox,...
asked by 15.08.2017 / 22:41
1
answer

use WCF service method returns The caller was not authenticated by the service

I have a project with multiple WCF services compiled, and accessible by another project on the same machine. Now I'm trying to connect to one of these services from another machine. I put the service refence URL, but it asks me for authenticatio...
asked by 03.08.2017 / 15:43
0
answers

Doubt JavaScript function generating PostBack

I have this function in my system, which cleans the fields, and updates the grid: $('.window .close').click(function (e) { //cancela o comportamento padrão do link e.preventDefault(); $('#mask, .window').hide(); docu...
asked by 28.07.2017 / 14:13
0
answers

Control X-axis markup in date data graphs

I have records in the database and a graph where I can preview them. The graph is data x Voltage in volts. When I have few records in the table the graph shows exactly the date recorded in the bank on the X axis, but over the time I add more...
asked by 10.08.2017 / 21:52
2
answers

Error Multiple object sets per type are not supported

I have an error in my application. I am working with Identity for user authentication but calling Controller created is returned the following error:    Multiple object sets per type are not supported. The object sets 'Users' an...
asked by 30.07.2017 / 18:21
0
answers

Error connecting to the database through Visual Studio

I'm trying to add a database to my application, the first one I got, but when trying to add another database I got the following error returned:    A network-related or instance-specific error occurred while establishing a connection to SQL S...
asked by 01.08.2017 / 05:05