By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,673 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,673 IT Pros & Developers. It's quick & easy.

WebControls, FreeTextBox & Dynamic Creation

P: n/a
I am somewhat new to C#, and i have encountered a problem to which I see no
solution.

I have a web page that contains some c# code that initiates on page load. The
primary purpose of this code is to create a large string, by retrieving data
from an XML file, that is then stored into a label. The string comprised of
html data, and is called with the following line placed in the HTML portion of
the page:

<asp:label id="TopicMaterials" runat="server" />

Depending on the number of paragraphs, I need to insert a number of
FreeTextBox's (FTB). To setup the FTB's I use the following line:
<FTB:FreeTextBox id='FreeTextBox2' width='300' height='675' runat='server' />

The problem is that if I place this previous line into the XML file (as
<![CDATA[ ]]> to stop the XML parser from thinking it is a XML tag), the FTB's
do not load.

One procedure that does work is to hard code the FTB line into the HTML portion
of the page but the client want the page to be dynamic.

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.