RadMultiPage RenderSelectedPageOnly="True" and JavaScript Issues

I'm using the RadTabStrip and RadMultiPage combo with the multipage having the RenderSelectedPageOnly property set to true. In the current page, the page has a JavaScript method that is the client validation function for a CustomValidator control. For some reason, when this property is true, that function can't be found. But with this property as false, the page works as expected; the client validation function runs when the form is being submitted. The JS function is in the content of the RadPageView that's displayed. It looks something like this:

Dimitar Terziev

If you have RenderSelectedPageOnly property set to true, only the corresponding pageview of the selected tab will be rendered on the webpage. Thus if you click between node you have to make a full post-back in order to load all controls and scripts. I suspect that in your case you don't make a full page post-back, RadScriptBlock is not loaded properly and that's why you get the JS error.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.