This question is locked. New answers and comments are not allowed.
In the MVC 3 Razor template for the Telerik Extensions for MVC (latest release), there's a script tag in the Shared View called _Layout.cshtml that has a full close tag like this:
and the template does work and the Home and About pages appear correctly. However, if you just edit the full close tag to the abbreviated close tag like this:
the Home and About pages NO longer appear.
Consistent with my style conventions, I would like to believe that I could replace any full close tag with the abbreviated close tag form on an element that has empty content. But apparently not!
I believe it's a bug. Or if it's intentional behavior, then could somebody explain why it's necessary?
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
and the template does work and the Home and About pages appear correctly. However, if you just edit the full close tag to the abbreviated close tag like this:
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript" />
the Home and About pages NO longer appear.
Consistent with my style conventions, I would like to believe that I could replace any full close tag with the abbreviated close tag form on an element that has empty content. But apparently not!
I believe it's a bug. Or if it's intentional behavior, then could somebody explain why it's necessary?