Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Unipager OnPageChanged event View modes: 
User avatar
Member
Member
shenyi_1987-hotmail - 4/16/2013 12:53:50 AM
   
Unipager OnPageChanged event
Hi:

I was wondering how could I set OnPageChanged event in code?

I use OnOnPageChanged="Unipager_OnPageChanged" in ascx file, and set
protected void Unipager_OnPageChanged (object sender, EventArgs e) in cs file, but there is an error: [usercontrol] Error loading user control: c:\Inetpub\wwwroot\ExperienceTour\CMSTemplates\ExperienceTour\controls\SearchResult.ascx(267): error CS0123: No overload for 'UniPager_OnPageChanged' matches delegate 'CMS.Controls.UniPager.PageChangedHandler'

Any idea?

User avatar
Member
Member
shenyi_1987-hotmail - 4/16/2013 1:15:19 AM
   
RE:Unipager OnPageChanged event
OK,I figure out, it's protected void Unipager_OnPageChanged (object sender, int PageNumber)