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
   Creating Pretty Prefixes and Suffixes in the SalesLogix web client
In the SalesLogix web client you may run across a reason you need to generate a “Pretty Key”. This is wh
Posted on Mar 17, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   SalesLogix Web Client- Working with Activities
In this webinar the user will learn to work with Activities from the Activities entity. This feature all
Posted on Mar 16, 2010 by Dale Richter to SalesLogix Training
 
   Adding an assembly reference to code files in the SalesLogix Application Architect
Often when adding custom code to SalesLogix you need to reference Assemblies that are not included by def
Posted on Mar 15, 2010 by Kris Halsrud to Kris Halsrud's Blog
 
   SalesLogix Web Client- Marketing Campaigns Part I [Video]
In this video webinar the Marketing Professional will learn how to create a New Marketing Campaign in Sal
Posted on Mar 15, 2010 by Dale Richter to SalesLogix Training
 
   Launching a report from a button in the SalesLogix web client
Starting in SalesLogix 7.5.1, Sage released an undocumented Reporting enhancement that allowed for intera
Posted on Mar 12, 2010 by Kris Halsrud to Kris Halsrud's 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