FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

ReadOnly=TRUE

Last post 09-26-2008, 4:58 AM by giviglie. 2 replies.
Sort Posts: Previous Next
  •  09-25-2008, 11:55 AM 9473

    ReadOnly=TRUE

    I use FreeTextBox to load a template and to fill some tags with some data from my db.

    I can visualize the page perfecly.

    Now I need to catch the HTML text to send it to an activex that creates a PDF file.

    In ReadOnly=True mode the

    Freetextbox1.Text=""

    in ReadOnly=False mode

    Freetextbox1.text is ok....do someone know why it happens?

    Any help will be very appreciated!

    Thanx

    Giacomo

     

     

  •  09-25-2008, 9:18 PM 9477 in reply to 9473

    Re: ReadOnly=TRUE

    Hmm, I tried setting the textbox to readonly=true on my own application and I was able to get the text that I sent into the box out by testing Freetextbox1.Text.

    Can you see the the HTML text in the freetextbox before you forward it to the activex? If the text is not there before you try to get it out then your attempt at getting the Text property will fail.

    My question is: Do you need to show the text to the user at this point or just generate aPDF file?

    Mark

  •  09-26-2008, 4:58 AM 9483 in reply to 9477

    Re: ReadOnly=TRUE

    In the freetextbox I load a template and I load some data from a DB. And I see it perfectly.
    I need to load my data into the freetextbox, because it's like a print preview, and I don't want to pass directly the html to the actvicex pdf creator...

    So I'll try to walk through...in another way....

    Thanx a lot....

    Giacomo
View as RSS news feed in XML
www.freetextbox.com