Marc Walgren Biography

by marc walgren11. January 2013 11:30

Marc Walgren - Project Manager and Developer joined Mitten Software in 2003. Mitten Software provides custom software solutions to clients around the globe. We focus on .Net, Sql Server and Clarion technologies.

Past applications include:

  • Resource management and Scheduling
  • Inventory Management
  • Point of Sales
  • Order Processing
  • Financial applications

Before joining Mitten Software, Marc was Data Processing manager for Pheoll Fastening Systems and a Programmer/Analyst for Q.E.D. Inc.



Blog | General | Biography

Building ASP.NET Custom User Web Control

by marc walgren4. January 2013 01:00

I had an internal project that prompted for a start and end date. I also wanted to "pop-up" a calendar to make the date selection a bit easier. Since there were two date fields to enter and I didn't want to cut and paste code, I created a custom user control. (Thanks to Isaias Formicia-Serna and a CodeProject article from 2004 that got me started). 


Clicking the ellipsis bring up the calendar as pictured above. The custom control (ascx) contains all the markup for the controls. The code behind (ascx.cs) contains the page load, property and event handling code. 

A couple key tidbits.

* To access the particular properties of any control (like a text box) inside the custom control, use a public properties (setter or getter) in the custom control's code behind. 

public partial class CtlCalendar : System.Web.UI.UserControl
    #region public properties
    public string CalendarDate
            return this.tbCtlCalendarDate.Text;
            this.tbCtlCalendarDate.Text = value;


* Remember to "Register"  the custom control (ascx) in the page.

 <%@ Register TagPrefix="fbWebReports" TagName="CtlCalendar" Src="~/CtlCalendar.ascx" %>

Using the custom control is easy. Add markup for the custom control just like any standard control.

<fbWebReports:CtlCalendar ID="fbCalStartDate" runat="server" />


My source code is available for download. (1.63 kb)


.NET | Development

Mitten Software Web Store Goes GOLD!

by marc walgren26. December 2012 11:30

Need a new Super Template? No problem. Find all the Super Templates by clicking on “Store”. Login to your account and use "Easy Update" to get the latest releases at update prices. Checkout and you’re on your way.



Blog | Development

Missing Clarion Templates

by Jim Morgan26. December 2012 05:04

No Template, no problem.....Well a little problem.

 Template Error

If you open an app file and don't have a template used in creating the app, Clarion will remove the template from the application. This can be disastrous. It's much better to leave the hooks to the template inside the app, determine how the template was used and either get the correct template or implement a work around. 

To get around the problem, create a stub template for that family so you can open the app. You will still lose the template's unique generated code, but at least the rest of the code is visable.

1) Open the app.
2) Save a screen shot of every unique template error. Put a screen shot in the clipboard with Alt-Ctrl-PrintScrren and paste it into a temporary document.
3) Do NOT save the app when done!
4) Create and register a tpl file like the one below. The key bits of information are the template family and template name which come from the error screen. The Family comes from your app..

#!== Stub Template to preserve code hooks ===============

5) Register the template.
6) Reopen the app
7) Repeat until all errors are gone. There may be dependent templates that are not visible until subsequent passes.


Blog | Clarion

Jim Morgan Biography

by Jim Morgan22. December 2012 13:32

Jim is President and Founder of of Mitten Software, providing SQL and .NET and Clarion development to clients around the globe. Applications developed by Mitten Software are in use by thousand of organizations and individuals world-wide.

Applications include:

  • Expert systems
  • Resource management and scheduling
  • Point-of-sale
  • Order processing
  • Manufacturing control
  • EDI
  • Financial applications
  • and more.

Prior to founding Mitten Software, Jim was Manager of Consulting for Price Waterhouse Coopers and a System Engineer for Electronic Data Systems (EDS). Jim holds a Masters Degree in Business from the University of Minnesota - Carlson School of Business. He is Certified in Data Processing (CDP) and Production and Inventory Management  (CPIM).

View a complete resume at


Contact Us  Consulting  Web Development  Data Collection  Flexible Web Lists  Clarion Products  Downloads  How To Order  Site Map  Store  Home
Copyright (c) 1989-2013 Mitten Software Inc., All rights reserved.

Month List