Custom Server Pages Alarm/Event List

I like how you’ve enabled event viewing in the graphic views, is there anyway to do the same in a custom server page?
(Sorry I’m in English)
Andrew Rodgers