The reason is that after a postback the DataBinding
event of the Literal
control is not fired and in this case you are creating a new LiteralControl
. A possible solution is to find the control on ItemDataBound
event handler as descried in the following help article
and set a text of the Literal control.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.