C# GridView Sorting/Paging w/o a DataSourceControl DataSource

Posted by: <Rolog>, on 23 May 2008 | View original | Bookmarked: 0 time(s)

If you set AllowPaging="true" or AllowSorting="true" on a GridView control without using a DataSourceControl DataSource (i.e. SqlDataSource, ObjectDataSource), you will run into the following errors: When changing the page on the GridView control: The GridView 'GridViewID' fired event PageIndexChanging which wasn't handled. When clicking a column name to sort the column on the GridView control: The GridView 'GridViewID' fired event Sorting which wasn't handled. As a...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: GridView | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 6404 | Hits: 1260

Similar Posts

  • VS 2010 Code Intellisense Improvements (VS 2010 and .NET 4.0 Series) more
  • Gaia Ajax 3.6 Beta Released! Free download of new Ajax GridView, 35++ Ajax Components and 100++ New Samples more
  • Multiple child views with RadGridView for WinForms more
  • WPF Release History : Q1 2009 SP2 (version 2009.1.526) more
  • Silverlight Release History : Q1 2009 SP2 (version 2009.1.526) more
  • LINQ to SQL (Part 5 - Binding UI using the ASP:LinqDataSource Control) more
  • How to simply modify a GridView more
  • Filtering Custom Paged Results more
  • Mark a GridView row, and move it with the up and down key more
  • Simple tips: Set Focus to TextBox in GridView (edit mode) more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD