Posts by Igor Monteiro • 322 points
12 posts
-
3
votes7
answers115219
viewsA: Mask for CPF and CNPJ in the same field
This way it worked for me. No focusin you remove the mask, no focusout you apply the mask by removing the special characters. $(document).ready(function(e) { $(".cpfCnpj").unmask();…
-
0
votes1
answer45
viewsA: Horizontal scroll when pressing tab
Voce can try using this plugin here from github: https://github.com/riteshjha/scrolltab reference: http://riteshsblog.blogspot.com.br/2011/09/jquery-ui-tab-scroller-plugin.html…
jqueryanswered Igor Monteiro 322 -
3
votes1
answer320
viewsQ: Create item in another project Visual studio 2013 Template
I am creating a template in visual studio, but I want to add an item in a project to be created in all other projects of Solution, can anyone help me? the code is more or less this: <VSTemplate…
-
1
votes1
answer139
viewsA: Concatenate project name to create Template in Visual Studio 2013 c#
Actually I have to use Projectitem as follows: <VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"> <TemplateData>…
-
3
votes1
answer139
viewsQ: Concatenate project name to create Template in Visual Studio 2013 c#
I am creating a template for project creation and when editing the file . vstemplate I have something like this : <VSTemplate Version="3.0.0"…
-
5
votes3
answers175
viewsA: What is the most correct way to make a query with LINQ?
I would do so: public decimal GetCustomerBalance(long accountCurrentAdvisorId) { return (from table in this.Table where table.AccountCurrentAdvisorId == accountCurrentAdvisorId select…
-
0
votes2
answers1344
viewsA: Open another page in modal Jquery
Because you don’t use viewbag? ViewBag.variavelQueVoceQuerMandarParaAView = "teste"; on the screen you use it like this: @ViewBag.variavelQueVoceQuerMandarParaAView…
-
2
votes4
answers357
viewsA: Objectcache to provide a variable for all users
This is an example of the use of objectcache the variable is available to everyone in the application pool: if (cache[Cache.Key.PesquisaGrupoProjetos.ToString()] != null) grupos =…
-
2
votes4
answers357
viewsQ: Objectcache to provide a variable for all users
I have an application in ASP.NET and would like to cache for all users as if the variable was in pool application and everyone had access, something other than the session that makes the section…
-
3
votes1
answer187
viewsQ: Linq query with Count
I’m doing a query that has some joins and a Count, but I want to do it with Linq. This is my Query. sbSQL.Append("SELECT grproj.cdgruproj as Id, grproj.dsgruproj as DescricaoGrupoProjeto, ");…
-
1
votes3
answers1148
viewsA: Take a variable value from Sql Server
Hi, try to select your variable: select @QueryString instead of print, :)
-
1
votes2
answers94
viewsA: Catching the Location of a POST
I think you have to pick up and check the Header HttpWebResponse response = myRequest.GetResponse(); // verifica se existe o location if( response.Headers["Location"] == null ) { } else{ }…