I ran into an annoying problem: the following code gives a warning in Visual Studio.
You need to wrap the server side expression in quotes.