Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange ListView behaviour
Message
From
19/12/2006 00:33:31
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01175169
Message ID:
01178788
Views:
15
Sorry for the late reply Pete ... I've been on the road for two weeks straight and I'm trying to get caught up with stuff here.

The "problem" with DesignMode isn't just limited to the ListView and it really isn't a problem. You just have to realize that the DesignMode property isn't set in the constructor. Here's an explanation of it if you're interested:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/designtimedebugging.asp

Search for "DesignMode" or read the whole article ... it has some interesting topics.

~~Bonnie




>Hi Bonnie, I did just that and it worked, another thing I noticed whilst I was fiddling with this class is the "Designmode" property doesn't seem to work either ! I placed a messagebox in the constructor to prove this
>
>
>if(this.DesignMode)
>    MessageBox.Show("In design mode");
>else
>    MessageBox.Show("Not in design mode");
>
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