Questions tagged as 'asp.net'

1
answer

C # + Entity + MySQL = The underlying provider failed on Open

I have a problem when I host my system on locaweb. My system is done in C # asp.net MVC3 with EF and MySQL. This problem occurs only in locaweb, I already checked the connectionstring and everything is with login and password. System.Securi...
asked by 05.01.2016 / 01:16
1
answer

Modify HttpContext.Current.User is breaking the optimization bundle

I've run a couple of tests and found that by modifying HttpContext.Current.User Application_PostAuthenticateRequest (Global.asax.cs) I get an Internal Server Error in the concatenated / mined bundle request. Follow the code quoted:...
asked by 14.12.2015 / 22:13
1
answer

Integration of information from a Web Service

I'm having a bit of trouble creating a Web Service. I have a MySQL database simple to register people. I already have my methods for performing CRUD operations in a classe . which were used in an application Windows Forms...
asked by 17.03.2016 / 15:20
1
answer

align contents of a div in the center of the screen

I have a loading and it is in <div> . It turns out that it always fires left and I would like it to be in the center of the page, but since it is in <div> , I thought that could be it. <asp:Content ID="Content3" Cont...
asked by 18.01.2016 / 19:22
1
answer

Dropdown menu from Bootstrap in asp.net site only works on the main page, what can I do to fix it?

The dropdown menu apparently works on the main page, but when I'm on another page and I'm going to use it it does not work! I already checked if the HTML code is generating with jQuery and I did not see anything strange. What to do? <...
asked by 17.06.2015 / 04:29
1
answer

Response.Redirect () without generating System.Threading.ThreadAbortException?

At all points in the system that has a Response.Redirect("/Url.aspx"); It generates the exception of type System.Threading.ThreadAbortException , but it works. Is there a way to do Response.Redirect, without generating the exc...
asked by 07.08.2015 / 20:35
1
answer

Screen Search Field (ASP.Net - MVC)

Good afternoon, I wonder if anyone could help me. I'm a beginner in programming, and I'm developing a web system, and I need a screen search of the screens that I've already created. As I use the MVC method, I wanted to know if I have to c...
asked by 02.07.2015 / 21:38
1
answer

ASP.NET Form Validation in Bootstrap Tabs

I have a form in ASP.NET with its content divided into Bootstrap Tabs. However, some of these fields are required (Required) or are type="number" and "email" , if they do not agree, when sending the form will appear a message...
asked by 19.06.2015 / 16:53
1
answer

Doubt PostBackUrl

I'm trying to use PostBackUrl in LinkButton within DataList . I tried the following, partially successfully. <asp:LinkButton ID="linkBtnMarca" CommandArgument='<%# Eval("Marca") %>' **PostBackUrl='<%# string....
asked by 21.06.2015 / 16:22
1
answer

Postback in dropdownlist with jQuery or JavaScript

How to give a postback or clear the selection of the dropdownlist so that it returns to the pre-state state using jQuery or JavaScript? I need to clear the selection by clicking on a p tag and calling the toggle () method. My code is this: <...
asked by 05.06.2015 / 18:57