Hi,
I have a reference to a control (rcbModels) using a codeblock like this
function pageLoad() {
models = $find("<%= rcbModels.ClientID %>");
}
I added an UpdatePanel to this page but I always get the following error: "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
I have tried changing the codeblock to:
function pageLoad() {
models = $find("<%# rcbModels.ClientID %>");
}
And DataBinding on the Pre_RenderComplete event without success.
What's the best way to solve this issue ?