all groups > dotnet web services > march 2007 >
You're in the

dotnet web services

group:

Casting WebForm TreeNode ( TreeView ) to WinForms TreeNode


Casting WebForm TreeNode ( TreeView ) to WinForms TreeNode djp
3/24/2007 3:25:07 PM
dotnet web services:
Hi
I add web reference to my C# client app and call web method that returns
TreeNode.
I tried to cast WebService TreeNode to Windows Forms TreeNode, but without
any effect.
Any ideas?

Thanks
PK

Re: Casting WebForm TreeNode ( TreeView ) to WinForms TreeNode John Saunders
3/25/2007 7:12:47 PM
[quoted text, click to view]

TreeNode is a platform-specific type, and should not be returned by a web
service. Instead, return the data that fills the tree node.

John

AddThis Social Bookmark Button