Thanks for your reply. But I want to know how to create a custom ListView control.
Hello:)
In fact I think you can do what the 2nd man's link's contents. And then create a Custom Control (*.ascx) as an Item, then throw the ListView inside, that's what you want. Then if you want to publish this kind of ascx control to the public on the ToolBox,
plz export accroding to this article:
Yes, I know what you want. The reason why I want you to do an ascx control is because if you are a beginner who begins to do the task seems to be difficult. So using asax control it's easy for you to design with UI, just like what you "drag and drop" as
usual. And you can use Wizard to make the whole ListView Pagable and Sortable. And then export it as a general published control.
Thanks, but if you can provide some tutorial or sample of how to custom ListView, it really be appreciated!
For a very very detailled information of Customized ListView with making it pagable, selectable or sortable. You can read the series of articles concerning about this kind of problems at:
http://www.4guysfromrolla.com/articles/021308-1.aspx
The man asked how to derive from a ListView with an example. This is needed if, for example, one is trying to load different item templates in the same list view based on some rule.
He did not ask how to customize the existing ListView control.
Darbin
Member
8 Points
6 Posts
How to custom ListView
Aug 15, 2011 06:06 AM|LINK
I want to create a custom ListView control with flexibility of Templates, sorting and paging. Please help me!
Thanks in advance!
Nasser Malik
Star
10980 Points
1691 Posts
Re: How to custom ListView
Aug 15, 2011 06:20 AM|LINK
please see these tutorials
Walkthrough: Displaying, Paging, and Sorting Data Using the ListView Web Server Control
Binding, Adding, Editing, Updating, Deleting, Paging and Sorting records in ListView Control
A Much Easier to Use ListView
Skype: maleknasser1
Darbin
Member
8 Points
6 Posts
Re: How to custom ListView
Aug 15, 2011 07:15 AM|LINK
Thanks for your reply. But I want to know how to create a custom ListView control.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How to custom ListView
Aug 17, 2011 01:16 AM|LINK
Hello:)
In fact I think you can do what the 2nd man's link's contents. And then create a Custom Control (*.ascx) as an Item, then throw the ListView inside, that's what you want. Then if you want to publish this kind of ascx control to the public on the ToolBox, plz export accroding to this article:
http://msdn.microsoft.com/en-us/library/aa479318.aspx
Darbin
Member
8 Points
6 Posts
Re: How to custom ListView
Aug 17, 2011 05:39 AM|LINK
Hi,
I want to create a custom ListView by creating a class inherit ListView control.
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How to custom ListView
Aug 17, 2011 05:56 AM|LINK
Yes, I know what you want. The reason why I want you to do an ascx control is because if you are a beginner who begins to do the task seems to be difficult. So using asax control it's easy for you to design with UI, just like what you "drag and drop" as usual. And you can use Wizard to make the whole ListView Pagable and Sortable. And then export it as a general published control.
Darbin
Member
8 Points
6 Posts
Re: How to custom ListView
Aug 17, 2011 09:27 AM|LINK
Thanks, but if you can provide some tutorial or sample of how to custom ListView, it really be appreciated!
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: How to custom ListView
Aug 18, 2011 01:10 AM|LINK
For a very very detailled information of Customized ListView with making it pagable, selectable or sortable. You can read the series of articles concerning about this kind of problems at: http://www.4guysfromrolla.com/articles/021308-1.aspx
wetnose
Member
2 Points
1 Post
Re: How to custom ListView
Feb 22, 2013 02:34 PM|LINK
All answers are off the mark.
The man asked how to derive from a ListView with an example. This is needed if, for example, one is trying to load different item templates in the same list view based on some rule.
He did not ask how to customize the existing ListView control.