Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Reading Treeview.Node.Tag
Message
From
11/08/2008 17:30:45
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01336112
Message ID:
01338194
Views:
13
>Yes, that was it. Thanks Bonnie.

Hey Kevin, I didn't do anything ... no thanks necessary. You found it yourself! =0)

~~Bonnie




>
>
>
>>>>I found the problem.
>>>
>>>Which was ?

>>
>>My guess is the problem was that instead of this:
>>
>>
>>foreach (csItem oItem in csAppStartup.oItems.colItems)
>>{
>>    oNode.Nodes.Add(oItem.sCaption);
>>    oNode.Tag = "1." + oItem.sItemCode;
>>}
>>
>>
>>He should have had this:
>>
>>
>>foreach (csItem oItem in csAppStartup.oItems.colItems)
>>{
>>    oNode = oNode.Nodes.Add(oItem.sCaption);
>>    oNode.Tag = "1." + oItem.sItemCode;
>>}
>>
>>
>>Am I right Kevin or was it something else?
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform