Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

The Controls collection cannot be modified because the control contains code blocks (i.e. ).

$
0
0

Hi Guys,

I am getting below error when adding Ajax calendar extender to textbox control, I have few javascripts in master page but can't <%= to <%# as it doesn't work. Below is the error

<script src='<%= ResolveUrl("~/assets/vendor/jquery/jquery.js") %>'></script><script src='<%= ResolveUrl("~/assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js") %>'></script><script src='<%= ResolveUrl("~/assets/vendor/bootstrap/js/bootstrap.js") %>'></script><script src='<%= ResolveUrl("~/assets/vendor/nanoscroller/nanoscroller.js") %>'></script><script src='<%= ResolveUrl("~/assets/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js") %>'></script>

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

Thanks,

Shabbir


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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