Hi Bernd,
It's absolutely correct that only the controls that support a DataBind
event can use binding expressions. Other controls simply cannot
evaluate these kinds of expressions.
The NavBarGroup control is one that doesn't support binding expressions.
However, you can use other types of expressions within an ASPX markup,
the so-called $-expressions. These expressions can be used with some
types of expression builders. For example, if talking about localization,
I can use the ResourceExpressionBuilder to refer to some resource data:
<dxnb:NavBarGroup Text='<%$ Resources:MyResourceString1 %>'>
Or, you can use the AppSettingsExpressionBuilder to retrieve some
application settings:
<dxnb:NavBarGroup Text='<%$ AppSettings:appName %>'>
Furthermore, you can write you own expression builder with your
own custom logic.
Finally, you can always access any control within code on the
server side and change any it's property you want without any
restrictions.
Victor
R&D, ASP.NET Team, DevExpress Inc.
P.S. If you wish to receive direct assistance from our Support Team, use
Support Center.