Hello,
I'm using template engine similar to master pages but for ASP.NET 1.1.
And I cannot use code blocks there because of when templating is performed an error occurs:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
But I still find code blocks very useful and want to use it, for example to emit HTML elemnt IDs to scripts.
Is there any way to deal with that?
Ragards,
Dmitriy.