Is there an object-compatible alternative to asp: ListView?
Is there an object-compatible alternative to the asp: ListView control included with ASP.NET 3.5? Due to some recent releases with a specific hosting provider of Service Pack 1 installed, I'm looking for a temporary stand for the ListView that can be dropped into place with minimal changes to the rest of my code.
One simple alternative is to use a repeater. Are there any major issues downgrading a ListView to a relay that I need to be aware of?
a source to share
You will lose 2 things:
- ListViews templates are provided. You will have to use the HeaderTemplate, ItemTemplate, FooterTemplate relay layout, which is pretty ugly.
- Repeaters, once associated, forget the data that was associated with them. If you are using a list of DataKeyNames this kind is big. Parsing repeater elements is less fun.
You can get around both of these, so it's not a huge deal, but still worth considering. Repeater is the best alternative to ListView though, since ListView was designed as an upgrade to repeater.
Read here for more information: http://www.singingeels.com/Articles/The_ListView_Dominates_The_Repeater.aspx
a source to share
The host seems to have answered page two about 30 minutes ago:
We apologize for any inconvenience this may cause. We believe this is the result of a recent update to ASP.NET 3.5 SP1. Microsoft discussed this issue and resolution. You can find this information here - https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=344296&SiteID=212&wa=wsignin1.0
a source to share