Posts by Danielle Arruda torres • 1,191 points
102 posts
-
1
votes2
answers43
viewsA: By sending Form the Attachment is coming null. ASP.NET
Follow the full answer working, based on @Ricardo Pontual’s suggestion public ActionResult EnviaEmail(string destinatario, string assunto, string mensagem, IEnumerable<HttpPostedFileBase>…
asp.net-mvcanswered Danielle Arruda torres 1,191 -
0
votes2
answers43
viewsQ: By sending Form the Attachment is coming null. ASP.NET
When you submit the form, everything in the controller arrives filled, except the file that is attached. Where is the error? Controller: public ActionResult EnviaEmail(string destinatario, string…
asp.net-mvcasked Danielle Arruda torres 1,191 -
0
votes1
answer391
viewsQ: With email attachment via ASP.NET application
I already have a method in my controller that sends email. Now you need to contemplate attachments (all attachment types, jpg, pdf, doc...); string strPara = Request.Form["email"]; string strDe =…
-
0
votes3
answers1026
viewsA: Query SQL, Always show record of a repeating field first
I got it using select MAX inside the Where SELECT Numero_Processo, Numero_Revisao Revisao,Titulo ,Id ,Data_Criacao FROM Qualidade_Insp_Inj_Processo Qproc WHERE Data_Exclusao is null AND…
-
0
votes3
answers1026
viewsQ: Query SQL, Always show record of a repeating field first
I’m having difficulty listing only one line of each process. The query must always bring the protocols with the last revision. Ex: Show last revision 2 number process only and Show only last…
-
1
votes1
answer333
viewsQ: How to duplicate a key’s value in SQL?
I need the keys Process and Numero_revisao, can receive values that already exist in the table. for example: Id = 1, Numero_Processo = 1, Numero_Revisao = 1 Id = 2, Numero_Processo = 1,…
-
0
votes1
answer49
viewsA: Formatting does not work
If it’s just a mask question. If the value is being treated correctly (decimal or double) use the one from jquery; Tem que colocar a referencia para : jquery.maskMoney.min.js $("#valor").maskMoney({…
phpanswered Danielle Arruda torres 1,191 -
2
votes2
answers509
viewsQ: CSS3 Adjust table to fill blank space generated on Landscape page
I have a report that is mounting in css and occupies A4 landscape size and I would like the tables to fit to always occupy all the space of the page. Image as ta: Space it should occupy css:…
-
2
votes1
answer961
viewsQ: Adjust Div position in CSS and HTML
I have a report that is mounted in html and css on A4 sheet size in landscape format. Everything works perfect. However I can’t align the tables on each other’s side. I want to Align all tables…
-
0
votes1
answer54
viewsQ: Crystal Report does not allow creating parameter
I’m trying to create a parameter in Crystal Report and when I click Ok nothing happens. Is there parameter limitation in Crystal in one project? because I read something similar in another forum.…
-
0
votes1
answer246
viewsA: how to take a value from the table and sum with which to enter php
1 - select tabelaSaldoAtual , 2 - armazena na em uma variavel ex: var saldoAtual 3 - pega o valor que ele depositou e salva em outra variavel. ex: var deposito 4 - NovoSaldo = saldoAtual…
-
3
votes1
answer355
viewsA: Routes in Codeigniter
My version of codeigniter is older than the current one. then.... But follow the example: change your htaccess to: <IfModule mod_rewrite.c> RewriteEngine On # Remove /index/ RewriteRule…
-
0
votes2
answers253
viewsA: How to save selected items at check from bank using AJAX, Jquery, and C# MVC?
//Mostra a lista de Check function CarregaSaida() { $.ajax({ url: "/Qualidade/Entidade/CarregaEntidade", //data: { representante: representante }, async: false, success: function (data) {…
-
1
votes2
answers253
viewsQ: How to save selected items at check from bank using AJAX, Jquery, and C# MVC?
I have a form that shows me a list coming from the bank in checkbox form. How can I identify which items on the list were marked in the save? I carry it like this: function CarregaSaida() { $.ajax({…
-
0
votes2
answers3096
viewsA: How to make a gif of loading in Javascript?
Try using the . Javascript blockui , See the example if (id > 0) { //Bloquei a tela e mostra a mensagem $.blockUI({ message: " Carregando informações da base de dados, isso pode demorar alguns…
-
0
votes0
answers68
viewsQ: JS Function that Validates Email to IE and Edge
I have a JS code that validates email perfectly and is in use in the portal. No then this function does not work in the IE and/or Edge browser. function validaEmail(email) { var regex =…
-
0
votes1
answer232
viewsQ: List Database result in checkbox with AJAX and Jquery
I have a function that searches the bank for an entity list and shows in select. However, I need this same list to be shown at checkbox where the user can check more than one option. How to show…
-
0
votes1
answer103
viewsQ: Double click Jqgrid does not work in Cellular
I have a Jqgrid that works perfectly in the browsers of the computer, however when I open on mobile, the double click function stops working. $table.jqGrid({ url:…
-
0
votes3
answers260
viewsA: How do I change the edge color of the input tag when selected
if ($("#IdDoCheck").is(':checked')) { $("#IdDoCheck").css({ "border-color": "#F00", "padding": "1px" }); } else { $("#IdDoCheck").css({ "border-color": "blue", "padding": "1px" }); }…
-
0
votes1
answer179
viewsQ: Is Asp.net MVC better working with Areas or Projects within a Solution?
I’m creating a portal and separating the modules by Areas. But the demands are increasing a lot, already has at least 5 more modules to be written in the portal. What is the best way forward in…
-
0
votes1
answer74
viewsA: Jqgrid put phone mask on column output in Jqgrid?
var grid = $("#jqGrid").jqGrid({ url: url, datatype: 'json', mtype: 'GET', postData: { nome: function () { return jQuery("#nome").val(); } }, colModel: [ { label: 'Id', name: 'id', width: 50 }, {…
-
0
votes1
answer342
viewsQ: How to identify if the access is internal or external?
I have an application in Asp.mvc that has 3 (three) types of access, 2 internal and 1 external. Internal access is done by LDAP and external access by a user table. No entanto o usuário externo…
-
0
votes2
answers598
viewsA: How to "validate" the input
You can create a function that calls in subumit so you can return message, change the color of the css border, or anything else you want: function validaDados() { var mensagem = ""; //Guia Geral if…
-
0
votes1
answer278
viewsQ: AJAX request with different domain
my request url="http://algumip:algumaporta/dowPDFNF?cChave="+chave $.ajax({ url: url, dataType: 'jsonp', success: function (data) { console.log(JSON.stringify(data)); }, type: 'POST' }); error that…
-
4
votes1
answer1123
viewsQ: Redirect URL on IIS 7.5
When publishing to the server (iis 7.5) the application: Eu tenho isso => http://meuip:8086 Mas preciso disso => http://meuip:8086/portal when or if created the iis directory with the name…
-
1
votes2
answers2225
viewsQ: How to take the sum of an entire column in SQLSERVER
I need to take the total value of the VOL field (image below), it is already generated by the SUM function. It can be in another query. All periodic tithes are required. ex: total = VOL(7,6890028)…
-
1
votes1
answer340
viewsQ: How to get a list of JS objects in Controller C# MVC?
I have an object with a list that will return me 3 or more items. I pass this object like this: var jsonObjs = JSON.stringify(arrayObj); alert(jsonObjs); CarregaNotas(jsonObjs); function…
-
0
votes2
answers238
viewsA: How to put the option to mark all Checkbox in Jqgrid
I got it in a very simple way using multiselect: true, var grid = $("#jqGrid").jqGrid({ url: '/Expedicao/Minuta/CarregaTransportadorNotas', datatype: 'json', mtype: 'GET', postData: { transportador:…
-
1
votes2
answers238
viewsQ: How to put the option to mark all Checkbox in Jqgrid
I need to put the Mark and Deselect option on all checkboxes listed by JQGRID I can’t imagine how to do it. Below the JS table. var grid = $("#jqGrid").jqGrid({ url:…
-
0
votes1
answer38
viewsA: How to insert in one table and after inserting in another (with foreign key)?
By PHP, you can get the last entered value: $ultimo_valor_inserido = mysql_insert_id(); by the Sqlserver there is the @@IDENTITY: o @@IDENTITY retorna o último ID inserido no banco. You can also…
phpanswered Danielle Arruda torres 1,191 -
0
votes1
answer74
viewsQ: Jqgrid put phone mask on column output in Jqgrid?
Code of the table that mounts JQGRID: var grid = $("#jqGrid").jqGrid({ url:'/Portaria/Agenda/Listar', mtype: 'GET', datatype: 'json', colModel: [ { label: 'Id', name: 'id', width: 50 }, { label:…
-
1
votes1
answer79
viewsA: Is it possible to change the css3 of the table (in Jqgrid) to change the positioning on the page?
I imagined it. I changed it in the library. In the ui.jqgrid.css file I changed to : .ui-jqgrid { position: relative; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing:…
-
0
votes1
answer79
viewsQ: Is it possible to change the css3 of the table (in Jqgrid) to change the positioning on the page?
It is possible to change the table positioning on the Jqgrid library page? When the Jqgrid table returns too much data, it creates a vertical scroll bar. When going down to view the last records the…
-
3
votes3
answers8240
viewsQ: Fill string with zeros
How to check and fill in a string if its size is less than one condition? For example, I always need to have a string in the size of 8 or 9. If the string is longer I give a substring taking only…
-
14
votes4
answers13421
viewsA: Query INSERT with WHERE condition
In SQL da to do so INSERT INTO pessoa (id, nome, sexo, datanascimento, cpf) SELECT 227,'FULANDO DE TAL','F','1999-09-09', '999.999.999-9' WHERE NOT EXISTS (SELECT 1 FROM pessoa WHERE id = 227);…
-
7
votes2
answers1093
viewsQ: Replace empty or blank letter, something like Replace("letters","")
There is a field in the database A1_ZTEL he is varchar(15). This way each user entered record of all forms, with bar, point, comma and letter. Now I need to ride a form and read this field from…
-
0
votes1
answer204
viewsA: JQGRID change the color of the line or data if the return is NULL or White
To whom it may interest, add in the event loadComplete and put your condition, picking up the line and changing its character loadComplete: function() { var rowIDs = jQuery("#jqGrid").getDataIDs();…
-
0
votes1
answer204
viewsQ: JQGRID change the color of the line or data if the return is NULL or White
Could I condition a different color if a column is blank in GRID? Something like this: if Shop ="", red line color $table.jqGrid({ url: url, datatype: 'json', mtype: 'GET', postData: {…
-
0
votes1
answer1572
viewsQ: Problem with Mascara Currency and I calculate
I have a function that is called here: $("#valorPrimeiroPedido").focusout(function () { var valor = $("#valorPrimeiroPedido").val(); calcularValorMercadoria(valor); });…
-
0
votes4
answers41221
viewsA: How to dispose images next to each other with titles below in css?
If that’s what you want: .imagem{ float: left; width: 50px; } img{ width: 100%; } <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport"…
-
1
votes2
answers67
viewsQ: problem with form with tabs
I took a code on the internet that configures tabs, everything works well, except that when I change tab and return to previous, the data filled in the form have been deleted and the masks of the…
-
0
votes1
answer115
viewsA: Get JSON in Javascript (via URI or PHP)?
You can force it to wait for one process to finish to initialize another with async: true or false. exemplo url: url, mtype: 'GET', datatype: 'json', async: false,…
-
2
votes2
answers109
viewsA: When clicking a radio button, disable the textarea
You can take the event . change the radiobutton <input ... class="rButton"> <input ... class="rButton"> <textarea id="justificativa"> Script $( ".rButton" ).change(function() {…
-
0
votes1
answer227
viewsA: Reload Jqgrid by passing filter parameters
I found an example in stackoverflow in English and adapted my need and is working. var url = "/Representantes/Cliente/listapelodao"; $(document).ready(function () { var representante =…
-
1
votes1
answer227
viewsQ: Reload Jqgrid by passing filter parameters
It is basically to make the Jqgrid function receive parameters type(date: {} ), by the events .change and update the grid. I have a grid that is loaded along with document, but need to implement…
-
0
votes2
answers742
viewsQ: How to put paging in foreach that returns a JSON list with ajax
I call this function which returns me a list and populates a table in the view, updating every time I pass a parameter through the filter. Everything works perfectly, just need to put paging,…
-
0
votes2
answers177
viewsA: Create combo with names within input value
I also don’t understand what you intended to do. But you’ve thought about using Jquery or Javascript for this action? Type, when selecting the select option it triggers an event to fill in the input…
-
0
votes2
answers32
viewsA: passing class and variable in contruct
I believe there must be some confusion of understanding. The above pattern has object-to-object orientation concepts. a variable of the object type will receive the attributes of the Person class.…
phpanswered Danielle Arruda torres 1,191 -
0
votes1
answer299
viewsA: Jqgrid calling a function by clicking on a cell passing the line id
For knowledge, follows how the result was, everything working perfectly, with double click and image: $(function () { var grid = $("#jqGrid").jqGrid({ //url: '@Url.Action("Lista","Recurso", new {…
-
0
votes1
answer299
viewsQ: Jqgrid calling a function by clicking on a cell passing the line id
Good morning, I need 2 help from you. First time with Jqgrid. 1- I need to add another column on the grid with an image that will call a modal by passing the value of the line ID. 2- I also need to…