CHM: Possible to remember language selection? Or have sections collapsed by default?

Topics: Features, Sandcastle
Jun 26, 2008 at 10:29 AM
Is it possible for the CHM viewer to remember the language selection when filtering code examples? It can be very annoying to have to turn off VB, C++, J# and Jscript each time I browse to a new topic!

Also, is there any way to have sections collapsed by default? I know the use can use the "Collapse All" button, but that's after the fact. There are quite a few instances where I'd like to show a CHM page containing many sections to just have the section names shown in the first instance, and then let the user decide which section he'd like to expand.

// Mike
Jun 26, 2008 at 4:02 PM
Hi Mike,

> Is it possible for the CHM viewer to remember the language selection when filtering code examples?

Unfortunately I don't think it's possible.  It may be a limitation in the .CHM viewer.

Sticky Language Filter
http://www.codeplex.com/SandcastleStyles/WorkItem/View.aspx?WorkItemId=5362

Sandcastle Language Filter does not stick when navigating to another page
http://forums.msdn.microsoft.com/en-US/devdocs/thread/c2b425bc-1609-4cfd-ba8c-e9a2b17541a6.

> Also, is there any way to have sections collapsed by default?

I think you'd have to modify the XSL transformations yourself.  Also, the solution may differ depending upon the presentation style.

- Dave
Jun 26, 2008 at 4:46 PM
Thanks,

// Mike