Why do we must use FreeTextBox (FTB) control?

This will be useful when we want to display text with HTML formatting with label control.
when you enter the text in FTB it will saves with all the HTML tags in the table.
while displaying the label control along with browser renders HTML.

Before you start with this control you must it in /Bin folder.

Download the Free TextBox at: http://freetextbox.com
In the aspx page put this:

<%@ Register TagPrefix=”FTB” Namespace=”

FreeTextBoxControls” Assembly=”FreeTextBox” %>
But remember add this in <Page> tag of aspx: ValidateRequest=”false”
ex:

<%@ Page Language=”C#” MasterPageFile=”~/MasterPage.master” AutoEventWireup=”true” CodeFile=”EnterFAQs.aspx.cs” Inherits=”EnterFAQs” Title=”Winning Edge :: FAQs” ValidateRequest=”false” %>

<%@ Register TagPrefix=”FTB” Namespace=”FreeTextBoxControls” Assembly=”FreeTextBox” %>

<FTB:FreeTextBox ID=”txt_desc” runat=”server” Width=”300px” Height=”150px”></FTB:FreeTextBox>

Advertisements