Microsoft Content Management Server - Sorting

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > January 2005 > Sorting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Sorting
Leeor Chernov

2005-01-24, 8:47 pm

Hi.
The sorting tab in the channel, how can I use it???
It doesnt makes any difference on the channel.AllChildren structure,
How can I activate the sorting on the channel.AllChildren (posting items)
structure ??

Leeor


Stefan [MSFT]

2005-01-24, 8:47 pm

Hi Leeor,

the sorting tab changes the SortOrdinal.
So in order to get the sort order in your collection do the following:

ChannelItemCollection children = channel.AllChildren
children.SortByOrdinal();

now your children collection will be sorted.

Cheers,
Stefan.


"Leeor Chernov" <leeor_chernov@mod.gov.il> wrote in message
news:#r9PvYhAFHA.3700@tk2msftngp13.phx.gbl...
> Hi.
> The sorting tab in the channel, how can I use it???
> It doesnt makes any difference on the channel.AllChildren structure,
> How can I activate the sorting on the channel.AllChildren (posting items)
> structure ??
>
> Leeor
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com