Posts by jp_almeida • 329 points
16 posts
-
0
votes1
answer141
viewsA: Modal in the controller
The method Url.Action makes your request for get, so a jquery function was added to do it by post. $('.pagination a').click(function () { var url = $(this).attr('href'); var page =…
-
2
votes1
answer194
viewsQ: Modal pagination using Url.Action
I have a modal of products, in the controller page has a get function to complete it when opening, and a post for filters and pagination. My problem is that paging is done by Url.Action("Index", new…
-
1
votes0
answers265
viewsQ: Adding Partial Views to my main page via a modal
I own a page with a button that calls a modal and in this modal there is a table with the products, that when I click on a record of the products it is added on my page. Adding only the first…
-
0
votes1
answer141
viewsQ: Modal in the controller
I am working on a page that has an Order model and there is a button that when pressed opens a product modal, with a table with all products. As I click on a line a product is added to the…
-
1
votes1
answer87
viewsQ: Replacement for the Fluent API
I am in a project of a system that uses the C#language, using MVC, Entity Framework and I am using the Fluent API. I wonder if there’s another way to do it. HasKey(oc => oc.OrdemCompraId);…
-
0
votes2
answers296
viewsA: validation for Partialview
I researched and found the following solution put in Partialview, on the part of scripts, worked right: <script type="text/javascript">…
-
1
votes2
answers296
viewsQ: validation for Partialview
I have a page that calls a partialview formed by a div with text field inside it, through a button. Each time the button is pressed a line is added. The problem is that I cannot validate the empty…
-
3
votes2
answers234
viewsQ: Adding Text Box and Writing to Database. (with C#, entityframework 6.1.3)
I am doing a project in Visual Studio 2013, with Entityframework version 6.1.3, MVC 4.5.0.0 and using Viewmodel. I am programming a page that is called payment condition. The creation page will have…
-
4
votes1
answer51
viewsQ: Adware in my project
Good morning, I have a project in Visual Studio 2013 using Entity Framework, so far so good, but suddenly when I was running it appeared Ads (Advertisements) in it, a few squares with multiple ads,…
visual-studio-2013asked jp_almeida 329 -
3
votes2
answers479
viewsQ: Adding checkbox to datagrid lines
I have an application in WPF, where there is a window with a datagrid with multiple lines, having only records. In this window there is also a button and I need the user, when clicking the button,…
-
0
votes1
answer390
viewsQ: Mask for a datepicker field in an application
I have an application in wpf, so there are windows that have fields for date types, I put these fields with datepicker in which there is a calendar for choosing the date. So far so good, what I…
-
0
votes2
answers1001
viewsA: Focus on open window
I was instantiating the object again when I pressed the button, just put it as global and set it as null and when instantiative it looked different from null, so just ask if it was different from…
-
0
votes2
answers1001
viewsQ: Focus on open window
I am with an application in wpf, with several buttons that open other windows outside the main system. I call them through the: .show(); Focus.(); If the user clicks multiple times the button opens…
-
0
votes2
answers488
viewsA: Function in mouseover event does not work in Firefox
I did so worked out, only that there is no way to pass the event parameter. function mOvr(obj,color) { obj.style.backgroundColor = "#A8A8A8"; }
-
4
votes2
answers488
viewsQ: Function in mouseover event does not work in Firefox
I have a Javascript function that is enabled through the event onmouseover in a table with records, the field changes color when I move the mouse, so it’s okay the problem is that it only works in…
-
3
votes0
answers132
viewsQ: Popup with a magnifying glass
I have a page with a combo that allows multiple selections of your items. If the user selects only one item, when closing the combo a text is displayed about the selected item. if, however, the user…