Jan 02, 2015, 7:52 AM
DataSorter is not working
Hi, in the 2.x version I can access the Datasorter information in codebehind, but in 3.x it sends an array empty error.
aspx
In 2.x this is working:
Detalles de la excepci?n: System.IndexOutOfRangeException: Out of bounds array index.
prms2.Sort[0]
Out of bounds array index
Can you help please?
aspx
<Sorters>
<ext:DataSorter Property="Cuenta" Direction="ASC"/>
</Sorters>
.csIn 2.x this is working:
StoreRequestParameters prms2 = new StoreRequestParameters(context);
string _sOrderBy = prms2.Sort[0].Property;
string _sOrderDirection = prms2.Sort[0].Direction.ToString();
But in 3.x it throws this error:Detalles de la excepci?n: System.IndexOutOfRangeException: Out of bounds array index.
prms2.Sort[0]
Out of bounds array index
Can you help please?