Author: Ismael Cruz

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 […]
<script language="javascript" type="text/javascript"> document.location.href=document.location.protocol + '//' + document.location.host </script>
If you’ve created your HttpModule correctly but when you open your web it doesn’t work, it could be a configuration error. You should open your web.config and check if your […]
<configuration> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <add name="myModule" type="ModuleNamespace.ModuleClass, ModuleNamespace"/> </modules> </system.webServer> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> <trust level="Full" originUrl=""/> </system.web> </configuration>
ERROR Retrieving the COM class factory for component with CLSID {'XXX...'} failed due to the following error: 80040154. CAUSE You're trying to build your project in x86 and you've to […]
You can get a LOG file with your workflow trace following this steps:1. Edit web.config.2. Insert the following code just BEFORE <appSettings> (always AFTER </System.Workflow.ComponentModel.WorkflowCompiler>): <system.diagnostics> <sources> <source name="System.Workflow.Runtime" > <listeners> <add […]
If you go to the Term Store Management you can add new term sets in the taxonomy term store whenever you want. However, maybe you want to allow users to […]