Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiated Object Inheritance
Message
From
10/11/2008 00:35:58
 
 
To
03/11/2008 09:06:13
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359137
Message ID:
01360829
Views:
25
I've been away on vacation for the past week and I see that you've gotten no responses to your question ... have you resolved the issue? Have you looked at the designer-generated code to see how the items actually got added? (off the top of my head, I don't know and I haven't added items to combos in this manner in the past).

~~Bonnie



>BTW, this is a WinForm issue.
>
>I have a sub-class of a user control that has a combobox in it. In the sub-class I have a set of items entered in the list via the collection in the IDE. I then drop the sub-classed control on a form and run it. No problem. I then go back to the sub-class in the IDE and add items to the combo dropdown collection and change some of the item’s names, values etc. Rebuild the entire solution with all projects. Run the form and only the original set of combo items shows up in the dropdown. The instantiated combo objects are not refreshed with the additions/changes to the dropdown list. The already placed object of the sub-class does not reflact the changes made in the sub-class.
>
>How can this be corrrected? I would expect it to have something to do with the *.resources and/or *.cache files generated in the folders. But I have removed them all to external folders and rebuilt the solution to no avail. Where in the world could the info be kept that gets built into the instantiated objects? Any info on this would be appreciated.
>
>Thanks,
>Bill
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform