Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > unigrid paging View modes: 
User avatar
Member
Member
chris-avian.co - 10/5/2010 8:47:24 AM
   
unigrid paging
Is there a way to inplemement custom paging to the unigrid as our ecommerce orders and products tables are taking too long to load as its returning hundreds of rows?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 10/6/2010 6:12:31 AM
   
RE:unigrid paging
Hello,

This was an issue in the previous versions of Kentico. Upgrading to 5.5 should solve the issue.

Best regards,
Boris Pocatko

User avatar
Member
Member
farbod.kishani-gmail - 12/28/2011 8:51:01 AM
   
RE:unigrid paging
Hi,

I am using cms:UniGrid in one page and I need to override or implement UniGridView_DataBound in that page
how can I do that?

thank you.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 1/1/2012 10:50:02 AM
   
RE:unigrid paging
Hello.

UniGrid control implements following handlers only:

OnAction
OnExternalDataBound
OnDataReload
OnBeforeDataReload
OnAfterDataReload
OnBeforeSorting
OnBeforeFiltering
OnPageSizeChanged
OnLoadColumns
OnAfterRetrieveData


So, I guess that by "DataBound" you meant "OnExternalDataBound," am I correct?

In any case, you can implement these handlers in code-behind of the page where UniGrid control is used. For example:
protected object UniGrid_OnExternalDataBound(object sender, string sourceName, object parameter)
{
switch (sourceName)
{
// custom code
}

return parameter;
}

You can find real example in code-behind of any page where UniGrid is used, e.g. in \CMSModules\Polls\Controls\PollsList.ascx.cs. Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
poyanj-yahoo - 1/12/2012 4:44:44 AM
   
RE:unigrid paging
Done

thank you