Recent Posts
- ASP.NET Web Design Software
- Debugging TypeScript Under DotNetNuke
- Multi-Step Processing in ASP.NET
- Twitter Follower Obsessions
- Sharing ObjectDataSource From Codebehind
- Silverlight – Wire up your form for programming
- DotNetNuke Modules – Benefits of Architecture
- Hungarian Notation – Use What Works, Spit Out The Bones
- AS is in CSharp too.
- Base-64 as URL Parameter
- DotNetNuke – Skinning
- Sorting the ListView in ASP.NET
- Self Executing Anonymous Function
- Why CSS ID selectors are Evil in ASP.NET Web Forms
- DotNetNuke SecurityException AspnetHostingPermission
Other Post
- How to code LINQ
- Hosting Issues.
- Native Client: Been There, Done That
- Ubuntu - Using The Right Tool For The Job
- Internationalization - Resource Files
- iTextSharp – PDF to HTML – Cleaning HTML
- Programming SEO - RSS
- Creating DotNetNuke Modules
- Override Inline CSS – I had no idea!
- CustomValidationControl and jQuery
Sorting the ListView in ASP.NET
Are you confused about how to implement sorting in the new ListView control in ASP.NET 3.5? Join me as I show you in this step by step video showing you exactly how to sort a ListView, even when it isn’t in gridview mode.
Republished by Blog Post Promoter
If you're new here, you may want to subscribe to the mailing list to get notifications of new post and a virtual tour of past topics. Thanks for visiting!
Related Post
Add/Edit/Delete with ListView
Last week we took a short look at the new ListView control in ASP.NET 3.5. Today, we'll take a brief look at Add/Edit/Delete. This is actually pretty simple stuff.
ListView and the DataPager
One of the new controls that Visual Studio 2008 brings us is the ListView. Now, the ListView control is really several different controls all rolled into one. There is a lot to see with this cont...
Converting a DataList to a ListView
Yesterday, I spent the bulk of the day converting a DataList to a ListView. I thought I'd spend a little time relating the process for those of you who might be interested in doing the same. ...
Paging on a Datalist
This morning, my email had the following question: “I am having a problem with datalist. Is it possible to do paging on datalist? If yes, what is the solution? I am using VB.NET on Microsoft Vi...
Validating A Checkbox . . .
. . . and other ASP.NET controls that the Validation controls can not be wired to. The presentation today may be something you already know how to do. But, this question comes up repeatedly ...
2 Responses to “Sorting the ListView in ASP.NET”
Leave a Reply
Cloud
.net
ajax
architecture
asp.net
authentication
containers
csharp
css
dal
database
dataset
datasets
dnn
dotnetnuke
events
google
gridview
html
internationalization
iTextSharp
javascript
jQuery
json
linq
listview
modules
ms-sql
MVC
objectdatasource
PDF
programming
reflection
seo
Silverlight
skinning
sql
tableadapter
testing
tsql
tutorial
vb.net
video
view
visual studio
winforms
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- February 2012
- January 2012
- July 2011
- May 2011
- January 2011
- December 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
Hello, I did exactly like in your video but i recive the error:
The ListView ‘listView’ raised event Sorting which wasn’t handled.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The ListView ‘listView’ raised event Sorting which wasn’t handled.
If you have an explication I would apreciate it. Have a good day.
Sorry, nothing comes to mind. But, let’s go through the obvious.
1) You are using VS 2008
2) You got the listView to display the content.
3) You put the linkButton in the proper template section.
If I had to guess, I’d say the last one is your problem. But, I’ve never seen this not work as described in the video, so I honestly can’t tell you what you might have done wrong without looking at your code.
If you want, send me your code via the “Click Here to Ask a Question” link in the upper right hand corner and I’ll take a look.