Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Asp.net Nested Repeater with unipager View modes: 
User avatar
Member
Member
Naresh - 4/14/2011 5:36:02 PM
   
Asp.net Nested Repeater with unipager
Hi!

I have custom web part to display user messages. Am using an asp.net nested repeater to display the messages, which is working fine .

Now, i need to put a pager to the web part.
I used the unipager control for paging. I tried to connect the pager to the control as told in the forums.
eg. unipagercontrol.pagecontrol = nestedrepeater.ID;
where "unipagercontrol" is the ID of unipager control &
"nestedrepeater" is the ID of Nested Repeater in the web part.

I have set all the properties in the pager.
But, I am not able to see the unipager. Though am able to see the div i wrapped around the unipager control. The unipager is not displayed. I think am missing some thing in here, but I don't get that.

So, Can anyone please help me in this issue.

Thank You,

Naresh


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/15/2011 11:06:17 AM
   
RE:Asp.net Nested Repeater with unipager
Hi,

could you please check if you set DelayedLoading="true" attribute in the repeater control?

If the attribute is not available you could try to add following code into your Page_Load method:


protected void Page_Load(object sender, EventArgs e)
{
//repItems = ID of your repeater
repItems.DataBind();
}


If it does not help, could you please share the code of webpart with us?

Best regards,
Ivana Tomanickova