Force Page Break after Footer

<!-- BEGIN Section SessionBreak_Footer -->        <tr style="PAGE-BREAK-AFTER: always" class="SubTotal">          <td>&nbsp;</td>          <td colspan="4">Sub Total&nbsp;{Count_ClientLastFirst1}</td>          <td style="TEXT-ALIGN: right" valign="baseline">{Sum_BillAmount1} </td>        </tr> <!-- END Section SessionBreak_Footer -->

Using CKEditor

Well, sometimes things are sooooooooooo simple. We just incorporated the latest CK Editor into one of our ASP.net C# Inmotion Projects. Here is how to do it: (1) Upload the latest CK Editor Version to the root of your webserver (2) Create a Record and make sure the field you want to use for the
Read More »

Redirecting to an SSL page

To have your codecharge site redirect to an SSL page for all pages, place the following code in the Application_BeginRequest method in Global.asax:   If Not Request.IsSecureConnection Then   Response.Redirect(Request.Url.AbsoluteUri.Replace("http://", "https://"))  End If

Using the AjaxControlToolkit in a .Net InMotion App

Rename InMotion.Web.Features.dll to InMotion.Web.Features.Orig.dll.  This file is located in Program Files/CodeChargeStudio4/Components/CodeTemplates/VBInMotion/Library (or C#InMotion if you are using C#). Download and unzip this file and put it in same directory as the file you renamed.  In this .dll I changed the MTScriptManager to inherit from ToolkitScriptManager instead of ScriptManager.  Download and copy the AjaxControlToolkit .dlls (I’m using the 3.5 version) to the bin
Read More »

Accessing Controls from Javascript

Below is some sample javascript code hiding/showing controls from Javascript when using the InMotion framework.  if (getMTControl("Batch.BatchCodeEditLink")) getMTControl("Batch.BatchCodeEditLink").style.display = 'none'; if (getMTControl("Batch.BatchCodeLabel")) getMTControl("Batch.BatchCodeLabel").style.display = 'none'; if (getMTControl("Batch.BatchCode")) getMTControl("Batch.BatchCode").style.display = 'block';