Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Defaulting Temaplte Gallary to TreeView mode

0 views
Skip to first unread message

Devin Rader

unread,
Jan 10, 2003, 12:27:23 PM1/10/03
to
Can I force the Temaplte Gallary to default to treeview?

devin


Kevin [MSFT]

unread,
Jan 13, 2003, 10:04:10 PM1/13/03
to
In the file
<MCMS>\Server\IIS_CMS\WebAuthor\Dialogs\PageCreationWizard\TemplateGalleries
Browse\TemplateGalleriesBrowse.aspx

Change the default droplist control from:

<asp:DropDownList Runat="server" id="GalleriesViewSelect"
AutoPostBack="True">
<asp:ListItem Value="View As List" Selected="True">View As
List</asp:ListItem>
<asp:ListItem Value="View As Tree">View As Tree</asp:ListItem>
</asp:DropDownList>

To this:

<asp:DropDownList Runat="server" id="GalleriesViewSelect"
AutoPostBack="True">
<asp:ListItem Value="View As List">View As List</asp:ListItem>
<asp:ListItem Value="View As Tree" Selected="True">View As
Tree</asp:ListItem>
</asp:DropDownList>

You can do similiar customization on other dialogs.

"Devin Rader" <dmr...@sseinc.com> wrote in message
news:OcPKB2MuCHA.1640@TK2MSFTNGP09...

Devin Rader

unread,
Jan 14, 2003, 10:39:33 AM1/14/03
to

Just a follow up. I would advise that anyone NOT do this. There is a bug
in CMS that does not apply the template security settings to the TreeView so
anyone can see all of your templates regardless of their security settings..

devin


"Kevin [MSFT]" <kevi...@online.microsoft.com> wrote in message
news:#8M#Qm3uCHA.2476@TK2MSFTNGP10...

Todd

unread,
Jan 14, 2003, 11:59:22 PM1/14/03
to
To change the default view in the Gallery viewer from "View As List" to
"View As Tree" you need to make a change to the ResourceGalleriesGrid.ascx
file in the following directory (by default):

C:\Program Files\Microsoft Content Management
Server\Server\IIS_CMS\WebAuthor\Dialogs\ResourceBrowser

Change the drop down list from this:

<asp:DropDownList Runat="server" id="GalleriesViewSelect"
AutoPostBack="True">

<asp:ListItem Value="View As List" Selected="True">View As
List</asp:ListItem>
<asp:ListItem Value="View As Tree">View As Tree</asp:ListItem>
</asp:DropDownList>

to this:

<asp:DropDownList Runat="server" id="GalleriesViewSelect"
AutoPostBack="True">
<asp:ListItem Value="View As List">View As List</asp:ListItem>
<asp:ListItem Value="View As Tree" Selected="True">View As
Tree</asp:ListItem>
</asp:DropDownList>

HTH,

<Todd />

"Devin Rader" <dmr...@sseinc.com> wrote in message
news:OcPKB2MuCHA.1640@TK2MSFTNGP09...

0 new messages