New Modules Installed

written by Ryan Olshan on Saturday, March 11 2006

Today I installed two modules on this site: ScottWater.CS.Modules and Telligent's FreeTextBoxWraper replacement assembly for CS v2.0. With Scotts' module the site now has the Share this post links in the blogs, module notifications for events like pending users on the admin end, and HTML code rendered as XHTML compatible in Community Server. The FreeTextBoxWrapper replacement adds color code support and an updated version of FreeTextBox.

Here's a sample of the color code support:

ASP.NET

[code language="ASP/ASP.NET"]<asp:TextBox ID="FirstName" runat="server" />[/code]

C#

[code language="C#"]using System;

public class SomeClass
{
   public string SomeFunction(string someString)
   {
      return "Hello World";
   }
}[/code]

JavaScript

[code language="JScript"]function doSomething(txt1, txt2)
{
   var txt1ID = document.getElementById(txt1);
   var txt2ID = document.getElementById(txt2);

   if (txt1ID.value != "")
   {
      txt1ID.value = txt1ID.value;
   }
}[/code]

T-SQL

[code language="T-SQL"]CREATE PROCEDURE dbo.SomeProcedure
   (
      @MyParameter INT
   )
AS
   SET NOCOUNT ON
   SELECT SomeRow
   FROM SomeTable
   WHERE SomeID = @MyParameter[/code]

VB.NET

[code language="VB.NET"]Imports System

Public Class SomeClass
   Public Function SomeFunction(ByVal someString As String) As String
      Return "Hello World"
   End Function
End Class[/code]

Kick this post on .NET Kicks

Similar Posts

  1. VB.NET GridView Sorting/Paging w/o a DataSourceControl DataSource
  2. March 21, 2007 Ask An Expert Live Chat Experts
  3. August 23, 2007 Ask An Expert Live Chat Experts

Comments

  • Eric Ramseur on on 3.12.2006 at 12:44 AM

    Eric Ramseur avatar

    Where is the color code sample?  This is just random code.  Can you give a more explained example?   Maybe install instructions..

  • rolshan on on 3.12.2006 at 12:59 AM

    rolshan avatar

    The color code samples are below where it says Here's a sample of the color code support. It is sample code, so that is why it's random. The instructions for installation come with the downloads on the Community Server site, and are easy to follow.

Post a comment