Posts by RafaelMoura • 352 points
11 posts
-
0
votes0
answers45
viewsQ: Mysql - Server change caused it to display dot instead of comma
I have an app C# .net using Mysql as db, and was staying at Locaweb. I posted the files on the server SmarterAsp and restored the database there as well. Now in the application, the fields 'double'…
mysqlasked RafaelMoura 352 -
2
votes2
answers262
viewsQ: Dropdownlistfor selected values do not persist
I am using Asp.net C# with mvc 4 and in my View I have a Dropdownlistfor, with a class I used of bootstrap-multiselect, as in the image: And the code in the view: @Html.DropDownListFor(m =>…
-
3
votes1
answer1629
viewsQ: Error loading Antlr3.Runtime
Today I had a power outage problem and when restarting the computer a complete scan was performed. Apparently generated some errors and I believe that one of them is related to the problem that…
-
2
votes1
answer763
viewsQ: Displaying Modal with model passed inside a C# Asp.net MVC foreach
I have a main page containing a list of users. In this list of users I have a button on the side where I will click and display a modal, passing the model of that line I clicked. I managed to do it…
-
0
votes0
answers287
viewsQ: Get Formcollection in Page Navigation
In an ASP.NET C# MVC4 system I have some screens where I show some data. These screens have Filters and navigation (maximum limit of 10 data per page). I would like to know how I can record…
-
0
votes2
answers945
viewsA: Bootstrap grid for form
You need to include the class row of bootstrap: <div class="row"> <!-- Seu código --> </div>
-
6
votes2
answers1410
viewsQ: File upload does not work on Locaweb hosting
Locally I can upload the file and save quietly in a folder using the following code Controller: public ActionResult CriarProduto(FormCollection form, HttpPostedFileBase file) { Produto produto = new…
-
0
votes1
answer298
viewsQ: Razor - @Html.Dropdownlist with dynamic name
I would like to concatenate the ID I get from @Model in the property string name of the Dropdownlist, because I would like to treat them dynamically. I try to do @Html.Dropdownlist("Name" +…
-
4
votes2
answers16534
viewsQ: Dynamic page break when printing (in <table>)
On a budget screen, I display the products registered within a Foreach in a table (each product), so in some cases, at the time of printing the page the table is broken and ends up getting very ugly…
-
1
votes2
answers211
viewsQ: Getting Foreign Key value - Object Reference not set to an instance of an Object
Using Code First - MVC 4 - EF6 I have the following Model: [Table("usuario")] public class Usuario { [Key] [Column("UsuarioId")] public int UsuarioId { get; set; } public string Nome { get; set; } }…
-
5
votes1
answer411
viewsQ: Changing a Dropdownlist via a search
I am creating a registration screen where in a text field I provide a search and the search result will have to appear in a dropdownlist. The project is asp.net mvc4 c# and the code in the view is:…