Saturday, July 25, 2009

how to integrate FreeTextBox in asp.net project

// how to integrate FreeTextBox in asp.net project without "validateRequest=false"

Firstly, download from this website : http://freetextbox.com/download/

After Download :

1. add toolbox item.right click on toolbar tab, choose add item and browse your .dll file.

2. drag & drop freeTextBox control on aspx page and its ID is ftbCtrl.

3. drag & drop button control from asp toolbox and its text property is "save" and ID is
"btnSave".

4. drag & drop lable for displaying content of the FreeTextBox control and its ID is "lblPreview".

5. on top of the aspx file reset <@ page language ="C#" validateRequest="false .......>

6. write code inside the save button.


lblPreview.Text = ftbCtrl.Text;

ending............