Posts by Rafaela Marraschi • 123 points
12 posts
-
0
votes2
answers210
viewsQ: Error trying to access ASP NET MVC page C#: "HTTP 404. The Resource you are Looking for (or one of its dependencies) could have been Removed"
Hey, guys, a problem I can’t seem to solve. My project is ASP NET MVC5 with C#. I went to create another page in my project and simply when I run it is not recognized. I did the same way I always…
-
1
votes0
answers39
viewsQ: Style input[type=checkbox] containing only part of input id
I have a style in CSS like this: input[type="checkbox"] { box-shadow:none; background-color: #f5f5f5; } I wanted to put in a checkbox who has a id special: <input type='checkbox' id='check_" +…
-
0
votes1
answer83
viewsA: Multiple Repository constructors using Unity Application Block C#dependency injection
yeah, I got the connection like this: DbContext contexto; IDbConnection Conexao =((IDbConnection)this.Contexto.Database.Connection);
-
0
votes1
answer83
viewsQ: Multiple Repository constructors using Unity Application Block C#dependency injection
I have a project that uses Unity Application Block dependency injection. Has the repository class: public class RepositorioDeLaudoMedico: RepositorioGenericoEntityFramework<LaudoMedico, int>,…
-
2
votes2
answers338
viewsQ: How to put html id tag with variable name using Razor
Hey, you guys. A very silly doubt, but it’s giving me a lot of headache... I have this snippet of html code using Razor in Asp net mvc, I want to merge the id of this snippet, like, "name + code…
-
0
votes1
answer161
viewsQ: Pass array parameter by HTTPGET in ajax to Actionresult
Hello. I have an Ajax Httpget function that would need to take an array to an Actionresult. How do I do this? $.ajax({ url: 'AtualizarTabelaDeRelatorio', data: { arrayDeInstalacao:…
-
1
votes0
answers42
viewsQ: .Crystal Report setdatasouce() giving Nullreferenceexception error
Hello. I am making a simple test report using Crystal Report with c#. The report is loaded by a . ttx file; On the controller I put: public ActionResult ObterRelatorio() { try { byte[] relatorio =…
-
6
votes4
answers694
viewsA: Why not comment on the code?
One way I learned where I work is to make the name of the variables clear for what I want to do. This already avoids many unnecessary comments. Let me give you an example: foreach (var…
-
0
votes1
answer194
viewsA: Edit C#XML file
You can put a . Replace("xmlns=\"",""); I have worked with electronic invoice and used enough replace in some specific situations.
-
1
votes0
answers118
viewsQ: datepicker calendar opens and closes when you click the form Submit button
Hello. I got a problem here. I have an aspnet mvc form with c# that has two datepicker: <form id="formBuscar" action="PaginaDeDeAcertosDaQuestao" class="form-horizontal box3">…
-
-1
votes1
answer192
viewsQ: date in javascript wrong format for controller c# (Asp net mvc)
I’m in a strange situation. I am working with datepicker jquery, asp net mvc 5. i configured the datepicker for the format as below: $(".datepicker").datepicker({ autoclose: true, buttonImageOnly:…
-
1
votes1
answer49
viewsQ: Update only a property of an object using Outputcache in Actionresult
Hello, everybody. I’ve got a problem I don’t even know if there’s a solution like this. I have an Actionresult that returns the contents of a chart in Jquery. The result of this chart will always…