I am trying to convert the following input name attribute in MVC2 into the equivalent in razor.

```
name="<%=ViewData.TemplateInfo.GetFullHtmlFieldName(String.Empty)%>.Day"

```

In razor I am using

`name="@ViewData.TemplateInfo.GetFullHtmlFieldName(String.Empty).Day"` 

but it is complaining because it is saying "string' does not contain a definition for 'Day' and no extension method 'Day' accepting a first argument of type 'string' could be found". The property is a datetime property and the above works in MVC2.

ANy help is much appreciated.