Page
From RadPHP XE2 Documentation
Page is a container for a webpage.
Events
OnShowHeader
You can write anything you want to the head of a page using its OnShowHeader event of the Page component. Associate the event to a function, and define in the function what you want to add to the head. For example:
function Page1ShowHeader($sender, $params) { ?>
<!-- Include an external JavaScript file: --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!-- Include JavaScript code directly: --> <script type="text/javascript">
alert("Hello");
</script>
<?php }