Advertisement
We can easily add list view in .aspx Page , without adding UserControl and Visual WebPart pages.
Add the following code in .aspx page.
<asp:Content ID="Content1" ContentPlaceholderID=" PlaceHolderPageTitle" runat="server">
ListView
</asp:Content>
<asp:Content ID="Content2" ContentPlaceholderID=" PlaceHolderMain" runat="server">
<WebPartPages:WebPartZone ID="WPListview" runat="server" >
<ZoneTemplate>
</ZoneTemplate>
</WebPartPages:WebPartZone>
</asp:Content>
In Elements Add the following code.
<File Path="Module1\ListView.aspx" Url="view.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" >
<View BaseViewID="2" Type="HTML" List="Lists/Testlist"
DisplayName="TestView" Name="TestView" DefaultView="TRUE"
WebPartZoneID="WPListView" WebPartOrder="1" />
</File>
C2F4F9C92B
ReplyDeleteTakipçi Satın Al
Film Siteleri
Google Adres Ekleme
C7DF916412
ReplyDeleteMany innovative printing techniques have revolutionized the textile industry in recent years. One such method gaining popularity is the direct-to-film process, which offers vibrant and durable designs. For those interested in exploring this technology further, you can visit DTFhub to find comprehensive resources and tutorials. Embracing these advancements can significantly enhance your creative potential and product quality.