CS Nuglet: On Telligent_Modal is not defined in CS2007

A Community Server project I’m working on currently is based on a custom theme that I received from my client.  It’s a very attractive theme that I like a lot.  Seriously.  And there aren’t a lot of attractive Community Server sites out there, so I appreciate working with a standout theme.

I was working on a custom Chameleon form that contained a modal window link, but a Javascript “Telligent_Modal is not defined” error prevented the modal window from opening.  Looking in the custom theme’s .Master file I saw the problem:  a missing Telligent Modal Web Control.

<TWC:Modal ID=”Modal1″ runat=”server” CssClasses=”CommonModal,
      LoadingUrl=”~/utility/loading.htm” />

So if you’re customizing a CS2007 site and see the above in a .Master file and think it doesn’t do anything…well, it does.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.