Eval inside an ASP.net repeater doesn't work inside another control
-
12-11-2019 - |
質問
I have a Reapter control with a custom server side control inside of it. When I place the code:
<%# Eval("DateAdded") %>
inside the item template of the repeater it works fine, but when I place it inside the custom server control inside the repeater, it doesn't work. Is it possible to do something like Parent.Eval() or Container.Eval() to get back to the context of the Reapeter rather than the custom control?
正しい解決策はありません
所属していません StackOverflow