subNode.SelectAction = TreeNodeSelectAction.SelectExpand;

This property sets the events to trigger when you select a TreeNode.
In this case, your setting raises 2 events -  SelectedNodeChanged and
TreeNodeExpanded. But it appears that you have not created any
handlers for these events (or forgot to post them). Within one of
these handlers, you can write the code to launch the file.

On Jan 11, 2:51 pm, Iain <[email protected]> wrote:
> Hi All
>
> I am using Visual Studio 2008/C#.
>
> The page consists of an ASP:Treeview. The treenodes are populated with
> the contents of a selected directory consisting of a number
> of .doc/.xls/.txt/.pdf documents. The user can then select a document
> (by clicking) and the document will open up in the browser. This works
> well in IE 7.0. In IE 8.0 and IE 9.0 The directory is read and the
> nodes populated correctly but the document links will not work at all.
> The document links do not work in Mozilla either.
>
> Can anyone shine a light on the problem ? I would appreciate any input
> I can get.
>
> Many thanks in advance
>
> Regards
>
> Iain Wilson
>

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to