PDA

View Full Version : [CLOSED] ComponentLoader - DirectEvents



PatrikG
Mar 15, 2012, 1:33 PM
I would like to know how to deal with directEvents of a component wich is renderd by ComponentLoader.
In my case a button(ID = 'abc') is created and rendered through ComponentLoader, I also add a direct event handler to the buttons DirectEvent.Click.Event.
When clicking the button I get an error saying "The control with ID 'abc' not found".
It seams like the dynamically created control is not registred correctly?

/PAtrikG

Daniil
Mar 15, 2012, 2:20 PM
Hi,

ComponentLoader doesn't recreate controls.

Please follow:
http://forums.ext.net/showthread.php?14316&p=60155&viewfull=1#post60155