Hi John,
How does the code for your code behind look like? You should also add a declaration for the span tag in the Code Behind. In .NET, a <span> tag is known as a HtmlGenericControl, so you should add something like this tom your Code Behind:
protected System.Web.UI.HtmlControls.HtmlGenericControl testSpan;
or
VB.NET
Protected testSpan As System.Web.UI.HtmlControls.HtmlGenericControl
Then in your Code Behind you can do something like this:
testSpan.InnerHtml = "<strong>Bla</strong>";
to assign the InnerHtml for the <span> tag.
Instead of a <span> element, you could also use a Literal control which renders no additional output, except for the string you assign to its Text property...
Does this help?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Save Tonight by
Eagle-Eye Cherry (Track 1 from the album:
Desireless)