Compression Flag and sorting MenuTree
Escapee - I think you're correct in setting DeCompression to true in order to enable compression, from what I've seen in the VB2008 thread (by Mumbles0) in this forum...
By the way, when you're building your MenuTree, you might like to sort the Events/Markets using code a bit like this:
Needless to say, the same can be done for the market items in the next block of code...you might like to check the correct sort order, so that markets don't become disassociated from their relevant events!
Looking forward to your next post
Escapee - I think you're correct in setting DeCompression to true in order to enable compression, from what I've seen in the VB2008 thread (by Mumbles0) in this forum...
By the way, when you're building your MenuTree, you might like to sort the Events/Markets using code a bit like this:
Code:
var sortedEvents = from events in response.eventItems
orderby events.menuLevel, events.eventName
select events;
foreach (BFEvent bfEvent in sortedEvents)
{
... add to menu tree as per your example...
}
Looking forward to your next post










)
Comment