Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Unassigned: Calendar Arrows Missing When RenderStyleLinks Disabled [27992]

$
0
0
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.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>