PC Review


Reply
Thread Tools Rate Thread

AllowSorting in datagrid

 
 
Jason
Guest
Posts: n/a
 
      3rd Sep 2004
Hi, when I set AllowSorting to true in datagrid, when user sorted a column, does
this raise an event? if yes, how can I catch it?
Thanks in advance.
 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      4th Sep 2004
The event is the "SortCommand" event. You need to set up an event handler
for this.


"Jason" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi, when I set AllowSorting to true in datagrid, when user sorted a
> column, does
> this raise an event? if yes, how can I catch it?
> Thanks in advance.



 
Reply With Quote
 
Jason
Guest
Posts: n/a
 
      7th Sep 2004
Thanks. But I searched MSDN, and SortCommand is used on Web Form, how about
Windows Form? Do we hve something similar to SoreCommand?


On Fri, 3 Sep 2004 20:50:54 -0400, "Scott M." <s-(E-Mail Removed)> wrote:

>The event is the "SortCommand" event. You need to set up an event handler
>for this.
>
>
>"Jason" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>> Hi, when I set AllowSorting to true in datagrid, when user sorted a
>> column, does
>> this raise an event? if yes, how can I catch it?
>> Thanks in advance.

>


 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      8th Sep 2004
Oops, sorry! I thought you were referring to the ASP.NET DataGrid. Sorry,
I haven't used the Windows.Forms DataGrid.


"Jason" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks. But I searched MSDN, and SortCommand is used on Web Form, how
> about
> Windows Form? Do we hve something similar to SoreCommand?
>
>
> On Fri, 3 Sep 2004 20:50:54 -0400, "Scott M." <s-(E-Mail Removed)> wrote:
>
>>The event is the "SortCommand" event. You need to set up an event handler
>>for this.
>>
>>
>>"Jason" <(E-Mail Removed)> wrote in message
>>news:(E-Mail Removed)...
>>> Hi, when I set AllowSorting to true in datagrid, when user sorted a
>>> column, does
>>> this raise an event? if yes, how can I catch it?
>>> Thanks in advance.

>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid AllowSorting property Carl Tribble Microsoft VB .NET 2 9th Oct 2004 08:37 PM
DataGrid.AllowSorting and CssClass =?Utf-8?B?a2g=?= Microsoft ASP .NET 3 3rd Aug 2004 12:33 AM
CollectionBase and Winforms DataGrid AllowSorting =?Utf-8?B?TWFyayBQaGlsbGlwcw==?= Microsoft Dot NET Framework 0 3rd Feb 2004 10:51 PM
DataGrid.AllowSorting Maurizio BELLANTONE Microsoft VB .NET 3 6th Sep 2003 05:01 PM
Export datagrid(with allowsorting) to Excel Cowboy \(Gregory A. Beamer\) Microsoft ASP .NET 6 4th Jul 2003 01:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:09 AM.