Microsoft Content Management Server - IsChannel/IsPosting property?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2005 > IsChannel/IsPosting property?





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 IsChannel/IsPosting property?
Victor

2005-03-17, 5:53 pm

In my tree view user control, I dont want to show postings when an user is
trying to add a content. I would like to show only channels. Is there a CMS
property I can access in my current CmshttpContext?

Thanks.
V
Stefan [MSFT]

2005-03-17, 5:54 pm

Hi Victor,

use the Channels collection rather than the AllChildren collection to fill
your tree view control.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"Victor" <Victor@discussions.microsoft.com> wrote in message
news:85D6EB13-547D-4B46-92DA-68379242FC3E@microsoft.com...
> In my tree view user control, I dont want to show postings when an user is
> trying to add a content. I would like to show only channels. Is there a

CMS
> property I can access in my current CmshttpContext?
>
> Thanks.
> V



Victor

2005-03-24, 8:47 pm

Thanks Stefan. Using Channel.Channels worked!

"Stefan [MSFT]" wrote:

> Hi Victor,
>
> use the Channels collection rather than the AllChildren collection to fill
> your tree view control.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
> Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Victor" <Victor@discussions.microsoft.com> wrote in message
> news:85D6EB13-547D-4B46-92DA-68379242FC3E@microsoft.com...
> CMS
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com