Are you reusing the control ids? I have to ask because lblbr.Text gets set to "</td></tr>"
BTW, "<table><tr><td>../im../picture.jpg</td><td>" has "</td>" and "</tr> missing, if that is not a mistype.
1. Yes indeed i did use labels...when rendered they are converted to <span>lbl.Text</span>....its a bit unconventional but it works...for the most part...it worked perfectly fine some time ago but i added more controls and fell into this problem....u can try is for yourself u'll see...more than likely it would not be a recommended solution on msdn...
I tried it and I get a span enclosing the literal of the label, OK. I still would use the literal in this case because the span may be causing trouble or could cause additional. In html 4.0, it does not allow a <table tag inside it. (I have not check html 4.1)
2. the viewstate comes into play because of an error...viewstates work...within some constrainst..of which value and position plays a part..
button moved from its initial position. here's the error:
'---------------------------------------------------------
Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
'---------------------------------------------------
This seems to be the real problem but I see nothing causing the order of this
.add(lblA)
.add(txtbx)
.add(lblbr)
.add(btn)
.add(lbltbl)
to change
(Put the previous declarations in the same order next time before posting cause I did not realize that it was different)
Let's act on what we agree on now, and argue later on what we don't.
Black men leave Barbeque alone if Barbeque don't trouble you