CCS Registry Keys

Sometimes after a CCS5 upgrade the app will have bugs or crash.  Yes recommends uninstalling the CCS, deleting the following registry entries, and reinstalling the app.  Be sure to turn off UAC, Windows Defender and are logged in as an Administrator. HKEY_CURRENT_USER\Software\YesSoftware\CodeChargeStudio5HKEY_LOCAL_MACHINE\SOFTWARE\YesSoftware\CodeChargeStudio5  In Windows 8 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\YesSoftware\CodeChargeStudio5

RadioButtonList placing text before radio button

When creating a master page with Artisteer 4.2.0.60483 (Beta) for CCS 5.1 Release Preview, the radio button text is appearing before the radio button instead of after.  CCS support said to add float: left; to .art-radiobutton>input[type=”radio”].  So I added the following to the CSS Export options: .art-radiobutton>input[type="radio"]{   float: left;   vertical-align: baseline;   margin: 0 5px 0 0;} The same thing can
Read More »

Adding Excel Export to a Report or Grid

Add NPOI.dll and NPOIHelper.dll to the bin folder of the website. In the After Execute Select event of the report or grid add the following code:   If Request.QueryString("Export") = "Excel" Then   Dim SS As New NPOIHelper.Spreadsheet()   SS.AddSheet(DirectCast(e.OperationResult,System.Data.DataView))   SS.WebDownload(Response, "DownloadFilename")  End If Add an Export to Excel link to the page with an Expression parameter of Export=Excel.

Add User Control to Grid

Create the User Control in Visual Studio.  In my example it was a simple DropDownList that had AutoPostBack set to True and redirected to another page on postback with a value from the grid. Register the control on the HTML page just after the Begin Panel Head. <%@ register tagprefix=”uc1″ tagname=”MyUserControl” src=”/dnn/Portals/9/my_user_control.ascx” %> Add the
Read More »

Artisteer Menu Format

Craig, Not sure if you already got this, but be careful of the menu builder. Below if how I got it done after contacting support. Underlying tone was I needed to read the directions better because this was in the directions and a departure from previous CCS technique…. You need to make an includable page
Read More »

Retrieve Value of Recordset Field

Per Yes Software support… To retrieve the value of a recordset field, or a field that is part of the datasource query but not assigned to a control in your grid or record. Grid BeforeShowRow:DirectCast(sender, InMotion.Web.Controls.Grid).DataItem("event_id").ToString() Record BeforeShow:DirectCast(sender,InMotion.Web.Controls.Record).DataItem("event_id").ToString() Grid, Record AfterExecuteSelect:DirectCast(e.OperationResult,System.Data.DataView).Table.Rows(0)("event_id").ToString()

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