M
Mark A. Sam
Hello,
I am trying to use a literal control to past test onto a page from several
buttons, so that each button displays something different. The problem I am
encountering is that the text wraps according to the width of the literal,
which is the width then it is put on the page. The other day I played with
this and had no problem. I assigned the text to the literal and it went
onto the page as it should have. I tried using html tags with line breaks,
as well as trying to place a panel onto the page through the literal, to
force the width, but no success.
Dim str As String
str = "<asp
anel ID='Panel1' runat='server' BorderColor='Black'
BorderWidth='4px' Height='25px' Style='position: static' Width='540px'>"
str = str & "This is a test1. This is a test2. This is a test3. This is a
test4. This is a test5.</asp
anel>"
LitMessage.Text = str
It displayed the text, but not the panel.
Does anyone have any idea what the problem is, or is it just another
Microsoft thang?
Thank you and God Bless,
Mark A. Sam
I am trying to use a literal control to past test onto a page from several
buttons, so that each button displays something different. The problem I am
encountering is that the text wraps according to the width of the literal,
which is the width then it is put on the page. The other day I played with
this and had no problem. I assigned the text to the literal and it went
onto the page as it should have. I tried using html tags with line breaks,
as well as trying to place a panel onto the page through the literal, to
force the width, but no success.
Dim str As String
str = "<asp
BorderWidth='4px' Height='25px' Style='position: static' Width='540px'>"
str = str & "This is a test1. This is a test2. This is a test3. This is a
test4. This is a test5.</asp
LitMessage.Text = str
It displayed the text, but not the panel.
Does anyone have any idea what the problem is, or is it just another
Microsoft thang?
Thank you and God Bless,
Mark A. Sam