I'm trying to use a ListView with groups, but something is wrong:
A group placeholder must be specified on ListView 'dlProvincias' when the GroupTemplate is defined. Specify a group placeholder by setting its ID property to "groupPlaceholder". The group placeholder control must also specify runat="server".
Here is my code:
</asp:ListView>
As you can see, the placeholder, the ID and the runat attribute are here.
A group placeholder must be specified on ListView 'dlProvincias' when the GroupTemplate is defined. Specify a group placeholder by setting its ID property to "groupPlaceholder". The group placeholder control must also specify runat="server".
</div>
ASP.NET Dynamic DataListViewdynamic controlsdynamic data .net c#VS2010 Beta
ryebra
Member
2 Points
5 Posts
ListView group placeholder problem
Feb 03, 2010 07:00 PM|LINK
Hi!
I'm trying to use a ListView with groups, but something is wrong:
A group placeholder must be specified on ListView 'dlProvincias' when the GroupTemplate is defined. Specify a group placeholder by setting its ID property to "groupPlaceholder". The group placeholder control must also specify runat="server".
Here is my code:
As you can see, the placeholder, the ID and the runat attribute are here.
Without groups everything works fine.
Any ideas?
Thx!
<div style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;" id="_mcePaste">A group placeholder must be specified on ListView 'dlProvincias' when the GroupTemplate is defined. Specify a group placeholder by setting its ID property to "groupPlaceholder". The group placeholder control must also specify runat="server".
</div>ASP.NET Dynamic Data ListView dynamic controls dynamic data .net c# VS2010 Beta
sjnaughton
All-Star
27318 Points
5458 Posts
MVP
Re: ListView group placeholder problem
Feb 03, 2010 09:38 PM|LINK
Hi Rybra, have a look at this video on ASP.Net Learn site: http://www.asp.net/Learn/videos/video-298.aspx
Dynamic Data
Always seeking an elegant solution.
ryebra
Member
2 Points
5 Posts
Re: ListView group placeholder problem
Feb 05, 2010 11:33 AM|LINK
Thx Steve!
There is a logic a bit strange but undeniable behind this ^^, but the important thing is that now it works.
Rybra
kumarrishav7
Member
191 Points
111 Posts
Re: ListView group placeholder problem
Oct 12, 2011 10:13 AM|LINK
could u please share the solution,.