Author: Ismael Cruz

You can obtain the Current Project Resource Rates by the following code in Visual Basic for Applications: Public Sub UpdateCostRates() Dim ProjectName As Project Set ProjectName = ActiveProject Dim N […]
If you have a server dedicated to the Distributed Cache of SharePoint, its memory can increase until 100% because of the DistributedCache process. If you look at the Task Manager […]
Sometimes we could have some problems to access to a specific machine where we have some of our code checked out. Maybe the person who was programming those files left, […]
Follow this steps to activate the ASP.NET Session in your Server: 1. Open the SharePoint Management Shell. 2. Execute the following command: Enable-SPSessionStateService –DefaultProvision 3. You’ve to change the parameter […]
You can add new div inside your web page by jquery always you want. You’ve to add the following code in your javascript function: $("#myExistentDiv").append("<div id='MyNewDiv'>This is my dynamic DIV</div>"); […]
You can remove any href that contains specific text inside the link. If you want to remove the link to any page that contains “DispForm” you can do it like […]
We want to hide “Level1” div that contains inside any “Level3” div in this code: <div class="level1"> Level 1A <div class="level2"> Level 2A <div class="level3"> Level 3A </div> </div> </div> […]
In order to avoid ENTER key in your asp:TextBox you’ve to add onkeydown event and control it, like this: <asp:TextBox ID="myTextBox" runat="server" onkeydown="return (event.keyCode != 13);"></asp:TextBox>
Sometimes, when you’re developing a visual web part, the designer file (with .g.cs extension) dissapears in front of your eyes. After finding nothing in the internet, we’ve just discovered why […]
Error Cannot have multiple items selected in a DropDownList Solution This message means that you're trying to select an item and another one is already selected. To solve this problem […]