Hi all,
I am using v15.1.4 for a large enterprise application. I had to disable the RenderStyleLinks flag because a lot (over 100) pages would need to be updated so the head tag has a source="server" attribute and any <%= %> tags inside the header would need to be wrapped in a placeholder.
For example, lots and lots of pages have something like the following in their header.
```
<head>
<script>
// some javascript code with code similar to
<%= someControl.ClientID %>
// ...
</script>
</head>
```
It is too costly for us to find and update all pages with this structure. That's why I decided to disable RenderStyleLinks. I found that the RenderStyleLinks property tries to register a script block in the header but requires the header to have a runat="server" attribute. But when a head tag has a runat="server" attribute, any Response.Write tags (<%=) need to be wrapped in a placeholder.
The problem with disabling RenderStyleLinks, however, is that the CalendarExtender arrows disappear. Is there a work around to get the arrows to display or is this a bug? Thank you.
Comments: No, I am not using AjaxControlToolkit.StaticResources because the manual step necessary to use it is just not possible for the application I am working with. There are way too many files that would need to be updated with ScriptReferences and Style.Render expressions.
I am using v15.1.4 for a large enterprise application. I had to disable the RenderStyleLinks flag because a lot (over 100) pages would need to be updated so the head tag has a source="server" attribute and any <%= %> tags inside the header would need to be wrapped in a placeholder.
For example, lots and lots of pages have something like the following in their header.
```
<head>
<script>
// some javascript code with code similar to
<%= someControl.ClientID %>
// ...
</script>
</head>
```
It is too costly for us to find and update all pages with this structure. That's why I decided to disable RenderStyleLinks. I found that the RenderStyleLinks property tries to register a script block in the header but requires the header to have a runat="server" attribute. But when a head tag has a runat="server" attribute, any Response.Write tags (<%=) need to be wrapped in a placeholder.
The problem with disabling RenderStyleLinks, however, is that the CalendarExtender arrows disappear. Is there a work around to get the arrows to display or is this a bug? Thank you.
Comments: No, I am not using AjaxControlToolkit.StaticResources because the manual step necessary to use it is just not possible for the application I am working with. There are way too many files that would need to be updated with ScriptReferences and Style.Render expressions.