OnCustomSort does NOT fire

4 replies. Last post: October 10, 2011 7:45 AM by davidpendry
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
davidpendryMember

Hello,

How do i get OnCustomSort to fire so when a header is clicked the method is called, a flag can be set and the main binding method can apply the appropriate action. The following will not fire:


aspx

<ISWebGrid:WebGrid ID="theGrid"
...
OnCustomSort="theGrid_CustomSort" >

<LayoutSettings ColumnHeaders="Yes"
..

AllowSelectColumns="Yes"
AllowSorting="Yes"
AllowEdit="No"

..>

aspx.cs

protected void theGrid_CustomSort(object sender, ISNet.WebUI.WebGrid.SortEventArgs e)
{
// determine what needs to be sorted. THIS DOES NOT FIRE
}


I need a worked example please.


Regards


Pendry

All times are GMT -5. The time now is 8:03 PM.
Previous Next