I am trying to access the page type from within the widget as I want some of its functionality to differ based on the page type.
Kentico 12sp MVC
Could you please explain more what do you want to achieve?
In widget controller you can use .GetPage() or .GetPage<T>() method, check it's type and base your logic on it. Does it answer your question?
I hadn't noticed that and was trying to manipulate the tips for the basic widget above.
This works fine and was exactly what I was after.
Please, sign in to be able to submit a new answer.