Quantcast
Channel: cascddlistwithfilter Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 20

Commented Issue: Sort order on drop down lists [27819]

$
0
0
I've created a series of drop downs. The parent on contains ~150 items. These items are not sorted alphabetically as they are in the source list. Is there some setting or is this an issue w/ the code?
Comments: ** Comment from web user: ofergal **

In the file X method CreateChildControls()
After:
if (!listNotFound)
{
// populate it with the values from the central master page list.
DataView dv = new DataView(list.Items.GetDataTable());
Add a line
dv.Sort = dv.Table.Columns[0].ColumnName;

That should take care of the sort order of the parent.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>