Hi
I have a user control that contains some Rad-controls (RadComboBox, RadMenu, AjaxPanel, ...) and some javaScript methods and it works correctly.
In my web site I need to use it in a panel that must be invisible at first page load, but unfortunately this property (visible = false) cause that user control's javascript isn't rendered and there are some errors about not finding javascript methods in the code page.
My user control's javascript code is in RadCodeBlock.
What is my solution?
How can I have a user control that can be invisible at first and after showing, its scripts has no errors?
I have a user control that contains some Rad-controls (RadComboBox, RadMenu, AjaxPanel, ...) and some javaScript methods and it works correctly.
In my web site I need to use it in a panel that must be invisible at first page load, but unfortunately this property (visible = false) cause that user control's javascript isn't rendered and there are some errors about not finding javascript methods in the code page.
My user control's javascript code is in RadCodeBlock.
What is my solution?
How can I have a user control that can be invisible at first and after showing, its scripts has no errors?