HI
Weird, it should work as Paldino said.
Do this:
<span id="Name"><%# ReplaceText( Container.DataItem("Name") ) %></span>
in the code behind:
protected string ReplaceText( object o)
{
return o.ToString().Replace( ... );
}
just out of curiosite, put a breakpoint and see what type is o.
Another question, where is that code located? do you call DataBind() in the
page?
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Jim" <Ji***********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
I have tried that syntax and it did not seem to work. I didn't think
the replace was valid syntax with the container object