code block in template control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Dupont

    #1

    code block in template control

    I have created a templated control.
    I used for a while and the I decided to put some internatioanliz ed string
    instead of hardcoded string into the template.

    and then my page fail at runtime when I do (in my templated control:
    Controls.Add(aS ubControl)) with the error this collection cannot be updated
    as the control contains code block.

    mmhh...
    what should I do ?


Working...