Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01352049
Message ID:
01352063
Views:
37
>
>That's exactly the problem - Items.Count is zero. The combo is loaded in the form's Load. The SelectedIndex is being set in a Setup method called later.

The Items collection must be getting cleared somehow between those two points - the syntax you showed definitely will work. Are you doing any other kind of data binding to this control?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform