Hi Team,
i am creating Multi language selection feature in Web App using Global Resources,Local Resources and bootstrap(css and Js). But I am getting the following Error while rending telerik control.
Error:
"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
Aspx Code:
<% if (dirs == "ar-EG")
{ %>
<link href="../bootstrap-arabic/css/bootstrap-arabic.css" rel="stylesheet" />
<% }
else
{ %>
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet" />
<% } %>
Aspx control working good with same code but issue occur while use telerik control.
What is the possible way solve this issue Please suggest.
Regrads
Manoj Sahu.
i am creating Multi language selection feature in Web App using Global Resources,Local Resources and bootstrap(css and Js). But I am getting the following Error while rending telerik control.
Error:
"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
Aspx Code:
<% if (dirs == "ar-EG")
{ %>
<link href="../bootstrap-arabic/css/bootstrap-arabic.css" rel="stylesheet" />
<% }
else
{ %>
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet" />
<% } %>
Aspx control working good with same code but issue occur while use telerik control.
What is the possible way solve this issue Please suggest.
Regrads
Manoj Sahu.