Apr 12, 2012, 8:25 PM
[CLOSED] ComponentLoader issue
I generate a GridPanel that has a CheckBoxSelecionModel using ComponentLoader.ToJason. The Selecion has a handler that pass another element to a javascript function. If i set "testFunc(elementName);" when the function is called the control is not the control expected. I cannot set "testFunc(#{elementName});" because the ComponentLoader fails (Error during ClientConfig initialization.).
Any help will be appreciated :)
Any help will be appreciated :)
CheckboxSelectionModel selMdl = new CheckboxSelectionModel { ID = "_smd", Mode = SelectionMode.Single };
selMdl.Listeners.SelectionChange.Handler = "testFunc(#{elementName});";
Last edited by Daniil; Apr 20, 2012 at 6:51 PM.
Reason: [CLOSED]