This is a migrated thread and some comments may be shown as answers.

[Solved] The Controls collection cannot be modified because the control contains

0 Answers 154 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 02 Oct 2007, 03:49 AM
Hi Guys

I was getting
 The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>) error when I add radajaxpanel to a page.

Telerik suggested in these
http://www.telerik.com/community/forums/thread/b311D-hgchd.aspx
http://www.telerik.com/community/forums/thread/b311D-ththe.aspx
threads to use radcodeblock.

But I don't want to use radcodeblock, so I just wrapped the radajaxpanel with asp panel. It worked.

But the problem is that I have text='<%=txtExpiryDate.ClientID%>' inside that update panel. I can't radcodeblock fo this, so how can I get around with this problem?


Cheers
Shane

No answers yet. Maybe you can help?

Tags
Ajax
Asked by
Shane
Top achievements
Rank 1
Share this question
or