Quantcast
Channel: Project Has Moved
Viewing full articles (4858 articles)
Browse article index
↧

Commented 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.
Comments: Isn't it enabled by default? The DefaultValue in AjaxControlToolkitConfigSection is set to true. ``` public class AjaxControlToolkitConfigSection : ConfigurationSection { // .... [ConfigurationProperty("renderStyleLinks", DefaultValue = true)] public bool RenderStyleLinks { get { return (bool)base["renderStyleLinks"]; } set { base["renderStyleLinks"] = value; } } // .... } ```
↧

Viewing full articles (4858 articles)
Browse article index

Latest Images

Trending Articles



Latest Images