Hi,
I have an aspx page that has a UserControl which is shown on a Button click in a RadWindow.
The usercontrol has javascript function's written in a RadCodeBlock that gets rendered when the aspx page loads. Now when i click the button to show the radWindow with userControl the javascript functions inside the RadCodeBlock of the userControl are not rendered.
I do know the work arounds of injecting the javascript from serverside but in terms of maintenance its a very big hassle as i would need to rebuild my entire project for a small javascript change.
I tried moving the javascript functions to the aspx page but since they need the clientId of the controls inside the usercontrol its getting difficult to have them in the aspx page.
How would i proceed?
Thanks in advance.
Rajesh
I have an aspx page that has a UserControl which is shown on a Button click in a RadWindow.
The usercontrol has javascript function's written in a RadCodeBlock that gets rendered when the aspx page loads. Now when i click the button to show the radWindow with userControl the javascript functions inside the RadCodeBlock of the userControl are not rendered.
I do know the work arounds of injecting the javascript from serverside but in terms of maintenance its a very big hassle as i would need to rebuild my entire project for a small javascript change.
I tried moving the javascript functions to the aspx page but since they need the clientId of the controls inside the usercontrol its getting difficult to have them in the aspx page.
How would i proceed?
Thanks in advance.
Rajesh