I've posted this to the forum as well, feel free to respond to either this or the forum
I'm getting The Controls collection cannot be modified because the control contains code blocks (i.e. <%
Our code contains the following
<% if displaythis = False %>
.
.
<%else%>
.
.
<%end if%>
I've tried <%# If displaythis = False Then %> but that doesn't work, it doesn't even
compile. I've googled this to death and I'm at a complete loss at this point.
Any help is greatly appreciated.
I can't use the
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<%If UseIcons = False Then %>
</telerik:RadCodeBlock>
bunch of code
.
.
.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<%End If %>
</telerik:RadCodeBlock>