In a repeater control I've Eval binding as:
<%#Eval("PubDate", "{0:dd-MMM-yyyy}")%>
But date time format needs to be configurable from the web.config.
I want to access datetime format from web.config in markup like:
<%#Eval("PubDate", "{0:<%$ AppSettings: DateTimeFormat %>}")%>
But is is not working...
Any suggesions?