Thursday, January 26, 2012

keep ids unique with Razor

<div class="contentBlock" id="@{<text>PlansFor</text>@Model.Program.Id}">

...makes...

<div id="PlansFora9c7326d-1006-4d0e-ac37-9fe30142aab6" class="contentBlock">

No comments:

Post a Comment