Posted on 2006-06-06
Last Modified: 2012-06-27
I want to read data from this text box and throw it in a sql database. So far the only thing I can figure out is to use the FreeTextBox1.ViewStateText Method or the FreeTextBox1.Xhtml method to get the stuff inside of it. I CANNOT figure out how to programmatically assign data into it, nor can I figure out how to take data from a database and stick it in. I need help. How does this thing work?

The textbox came from this site:
Question by:kevinkwirth
    LVL 27

    Accepted Solution

    check out this post from

    you will find all kind of answers about freetextbox on their website forum, just make sure you click on View Complete Thread at the bottom of the page

    """" From freetextbox forum

    Dim FTB As New FreeTextBoxControls.FreeTextBox

            FTB = Formview1.FindControl("FreeTextBox1")

    Where "FreeTextBox1" is the id of the control

    of coure if you dont have a formview you need to take that part of or just replace that line with


    Author Comment

    Getting the control on the form and having it render and work isn't the problem, unless I'm misunderstanding what your saying. I am using Visual Studio 2003 and the Freetextbox is on an aspx page. I can debug the program and type in the textbox. After I am done typing I can retreive what I typed programmatically with this on the vb side:


    so I'm assuming that I can get the html stream that is coming out of it with the viewstate method and do whatever I want with it. What I need some pointers with is taking that information and putting it into a sql database. I haven't tested it but I'm pretty sure I have a handle on this one. (I am assuming this is stored like a regular string?) The most important thing though is to get that information back and having it render in the FreeTextBox1. What method does it take get that html string to render? I can't just do this:

    FreeTextBox1.Text = "Whatever"

    It just throws an exception.

    Author Comment

    Oh jeez, thanks. I got it now. I didn't realize you needed to instantiate an instance of the freetextbox before doing things with it. I was just assuming that you could put it on a form like a regular control and start doing stuff with it. Thanks for the help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now