The easiest way to do this is to pass the value of the DataItem to a custom function:
Code:
Public Function CheckTitleValue (ByVal theValue As Object) As String
' Do whatever you want to do with the item here
Return "WhatEverYouWantToReturn"
End Function
Then in your server control, change the binding code to this:
<asp:WhatEverControl Text='<%# CheckTitleValue(Container.DataItem("DocTitle")) %>'
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.