Hello.
UniGrid control implements following handlers only:
OnAction
OnExternalDataBound
OnDataReload
OnBeforeDataReload
OnAfterDataReload
OnBeforeSorting
OnBeforeFiltering
OnPageSizeChanged
OnLoadColumns
OnAfterRetrieveDataSo, 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