Skip to Content

Number of Pages in Body Page

Hi All,

i have a problem that i cannot solve because i cannot read the number of pages in Body Pages.

I try to explain better:

If i want to hide an element in the Master Page i can inserting this code in the element

if( > 1) { this.presence = "hidden"; }

and it works!

but if i do the same with an element in Body Page it doesn't work... why?!?

Thanks a lot



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 16, 2013 at 10:53 AM

    Hello Massimo,

    If you want to hide the element which is in the body page, please check whether the code you have written on that element is in the Initialize event or not. It will not work if you have written it in Layout Ready event . It works in Initialize event.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.