Login / Register  search  syndication

          Kris Halsrud's Blog

Kris Halsrud on development and Integration with CRM and Development

Error attempting to sort a SalesLogix web grid control

If you have ever added code similar to:

mygrid.Sort("CreateDate", SortDirection.Descending);

You may have seen an error similar to this:

System.Web.HttpException: The GridView 'mygrid' fired event Sorting which wasn't handled.

This is caused by attempting to call the sort method on a grid that does not have it's EnableSorting property set to True.  Also, the column you are sorting should also have it's IsSortable and SortField properties defined.

What's This?
Bookmark and Share

About Kris Halsrud

   Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.


Related Content
   Using SQL triggers to enforce data rules in SalesLogix.
In a recent project, I used triggers to enforce some data rules in the Ticket area of SalesLogix. We did
Posted on Feb 05, 2010 by Jason Buss to Jason Buss' Blog
 
   SalesLogix 7.5.2 Hot Fix 1 – the Dependency Lookup is still broken
SalesLogix released hotfix 1 for SalesLogix 7.5.2.  One of the published resolutions of the hot fix
Posted on Jan 27, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   Message box dialogs in the SalesLogix web client
In the web client, there's not an easy way to present the user with a multiple choice dialog. One q
Posted on Jan 14, 2010 by Jason Buss to Jason Buss' Blog
 
   Clearing user default settings in the SalesLogix web client
Each user of the SalesLogix web client can define various user based  settings while they are using
Posted on Jan 13, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   Sage Announces CRM Competitive Replacement Program
Between now and March 31, 2010 Sage is offering 60% off MSRP of Sage SalesLogix and SageCRM for switching
Posted on Jan 11, 2010 by Scott Weber to SalesLogix Product Blog
 
Comments

 

Twitter Trackbacks for Error attempting to sort a SalesLogix web grid control - Kris Halsrud Blog [customerfx.com] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Error attempting to sort a SalesLogix web grid control - Kris Halsrud Blog         [customerfx.com]        on Topsy.com

November 20, 2009 7:32 AM

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2010 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register