DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 9 Aug 2007 09:18:03 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    RSienkiewicz
          2    pvdg42 am
                 3    RSienkiewicz
                 4    RSienkiewicz
                 5    pvdg42 am
                 6    pvdg42 am
          7    moo


Listbox Sorting in .NET 3.0   
Am I crazy, is there no sorting of listboxes under .NET 3.0. Make a new app, 
add a listbox and see no Sorted property. Add strings and they just go to the 
bottom.

Thanks,
Rich Sienkiewicz
Inflexis Corp.
Date:Thu, 9 Aug 2007 09:18:03 -0700   Author:  

Re: Listbox Sorting in .NET 3.0   
"RSienkiewicz"  wrote in message 
news:53E9120A-D6B2-4646-960C-D2EB9083AA07@microsoft.com...

> Am I crazy, is there no sorting of listboxes under .NET 3.0. Make a new 
> app,
> add a listbox and see no Sorted property. Add strings and they just go to 
> the
> bottom.
>
> Thanks,
> Rich Sienkiewicz
> Inflexis Corp.


Documentation indicates:

http://msdn2.microsoft.com/en-us/library/system.windows.forms.listbox.sorted.aspx

Have you tried accessing/setting the public property in code?
Date:Thu, 9 Aug 2007 12:36:57 -0500   Author:  

Re: Listbox Sorting in .NET 3.0   
Sorted is not in my intelli-sense. Same with a ListView, it has no Sorting 
property like the help says it should. And I get compile errors if I try to 
use it ("does not contain a definition for Sorted"). This is .NET 3.0 being 
developed with VS 2005. 

Thanks,
Rich Sienkiewicz

"pvdg42" wrote:


> 
> "RSienkiewicz"  wrote in message 
> news:53E9120A-D6B2-4646-960C-D2EB9083AA07@microsoft.com...
> > Am I crazy, is there no sorting of listboxes under .NET 3.0. Make a new 
> > app,
> > add a listbox and see no Sorted property. Add strings and they just go to 
> > the
> > bottom.
> >
> > Thanks,
> > Rich Sienkiewicz
> > Inflexis Corp.
> 
> Documentation indicates:
> 
> http://msdn2.microsoft.com/en-us/library/system.windows.forms.listbox.sorted.aspx
> 
> Have you tried accessing/setting the public property in code?
> 
> 
> 
> 
> 
Date:Thu, 9 Aug 2007 10:48:02 -0700   Author:  

Re: Listbox Sorting in .NET 3.0   
Even unser VS2008 Beta 2 I get no Sort or Sorting property on ListBox and 
ListView. What gives?

"RSienkiewicz" wrote:


> Sorted is not in my intelli-sense. Same with a ListView, it has no Sorting 
> property like the help says it should. And I get compile errors if I try to 
> use it ("does not contain a definition for Sorted"). This is .NET 3.0 being 
> developed with VS 2005. 
> 
> Thanks,
> Rich Sienkiewicz
> 
> "pvdg42" wrote:
> 
> > 
> > "RSienkiewicz"  wrote in message 
> > news:53E9120A-D6B2-4646-960C-D2EB9083AA07@microsoft.com...
> > > Am I crazy, is there no sorting of listboxes under .NET 3.0. Make a new 
> > > app,
> > > add a listbox and see no Sorted property. Add strings and they just go to 
> > > the
> > > bottom.
> > >
> > > Thanks,
> > > Rich Sienkiewicz
> > > Inflexis Corp.
> > 
> > Documentation indicates:
> > 
> > http://msdn2.microsoft.com/en-us/library/system.windows.forms.listbox.sorted.aspx
> > 
> > Have you tried accessing/setting the public property in code?
> > 
> > 
> > 
> > 
> > 
Date:Thu, 9 Aug 2007 11:32:01 -0700   Author:  

Re: Listbox Sorting in .NET 3.0   
"RSienkiewicz"  wrote in message 
news:1874D4DD-747A-4A2B-B0E4-7FEDA249D1C8@microsoft.com...

> Even unser VS2008 Beta 2 I get no Sort or Sorting property on ListBox and
> ListView. What gives?
>
> "RSienkiewicz" wrote:
>
>> Sorted is not in my intelli-sense. Same with a ListView, it has no 
>> Sorting
>> property like the help says it should. And I get compile errors if I try 
>> to
>> use it ("does not contain a definition for Sorted"). This is .NET 3.0 
>> being
>> developed with VS 2005.
>>
>> Thanks,
>> Rich Sienkiewicz
>>

Right you are, in a WPF application. When I create a Windows Forms 
application in VS 2008 Beta 2, the Sorted property is there for the ListBox. 
Similarly, if I create a Windows Forms app in VS 2005 (with .NET 3.0 and 
extensions installed), I get the "standard" ListBox with the Sorted 
property. If I create a .NET 3.0 app in VS 2005, I get the "other" LIstBox 
with no Sorted property. I don't know the difference in WPF (yet), but I'm 
going to look into it further and will get back to you if I discover 
anything interesting.
Date:Thu, 9 Aug 2007 16:40:37 -0500   Author:  

Re: Listbox Sorting in .NET 3.0   
"RSienkiewicz"  wrote in message 
news:1874D4DD-747A-4A2B-B0E4-7FEDA249D1C8@microsoft.com...

> Even unser VS2008 Beta 2 I get no Sort or Sorting property on ListBox and
> ListView. What gives?
>

It didn't take me long to find this:

http://msdn2.microsoft.com/en-us/library/aa970268.aspx#Controls

The WPF has it's own controll classes which are definitely different from 
the control classes that support Windows Forms. You've found one significant 
difference.
Date:Thu, 9 Aug 2007 16:47:30 -0500   Author:  

Re: Listbox Sorting in .NET 3.0   
I've also noticed that the System.Web.UI ListBox control does *not*
implement Sort() either. Anyone know why?

On Aug 9, 2:47 pm, "pvdg42" <pvd...@newsgroups.nospam> wrote:

> "RSienkiewicz"  wrote in message
>
> news:1874D4DD-747A-4A2B-B0E4-7FEDA249D1C8@microsoft.com...> Even unser VS2008 Beta 2 I get noSortor Sorting property onListBoxand
> > ListView. What gives?
>
> It didn't take me long to find this:
>
> http://msdn2.microsoft.com/en-us/library/aa970268.aspx#Controls
>
> The WPF has it's own controll classes which are definitely different from
> the control classes that support Windows Forms. You've found one significant
> difference.
Date:Tue, 14 Aug 2007 11:28:59 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us