PC Review


Reply
Thread Tools Rate Thread

datagrid problem

 
 
Jon
Guest
Posts: n/a
 
      10th Aug 2005
I have a datagrid on my page that I add columns to programmatically and then
bind it to a dataset. Works great. My problem is with sorting. I assign
each column a sortexpression and set allowsorting to true, but when I click
on the header link that would normally sort it calls the grid_ItemCommand
and not grid_SortCommand. For some reason, it seems to think the header
text is just another item. Any ideas on solving this?

Thanks
Jon


 
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 Problem Abhi Microsoft C# .NET 1 29th Jan 2006 09:12 PM
problem in nesting datagrid in to a nested datagrid sajvargs Microsoft ASP .NET 0 20th Feb 2005 12:17 AM
DataGrid TableStyle Problem and ScrollBar Problem =?Utf-8?B?Sm9iIExvdA==?= Microsoft Dot NET 0 24th Sep 2004 04:59 AM
Datagrid Map Problem MadCrazyNewbie Microsoft VB .NET 4 26th Mar 2004 12:14 PM
Problem getting value from Datagrid =?Utf-8?B?Q0RXYWRkZWxs?= Microsoft C# .NET 2 20th Feb 2004 07:12 AM


Features
 

Advertising
 

Newsgroups
 


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