where is page load() for a particular page in kentico?

sarathlal s asked on May 16, 2014 00:19

Where is page load of a particular page. I need to insert a script for analytics custom statistics script in page load. Where can i place this?

How can i list a most read articles in a repeater. I have a page with number of articles listed in it. If a particular article is selected, i need to list it in a repeater with the most count of a particular article selected.

Recent Answers


Ashish Narnoli answered on May 16, 2014 07:20

Hi Sarathlal

You can use Pageload() under Sitemanager > Development > Page Templates > your page template > Layout tab like below

<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {
        <!-- YOUR CODE-->
    }
</script>

Best Regards! Ashish Narnoli

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.