The RadListView control does not have an item placeholder specified. (Different problem)

2 posts, 0 answers
  1. Tonyz289
    Tonyz289  avatar
    50 posts
    Member since:
    Jun 2011

    Posted 22 Aug 2011 Link to this post

    Forget it. The template I was working from was done by another programmer who I don't have contact with ... or trust.
  2. Tonyz289
    Tonyz289  avatar
    50 posts
    Member since:
    Jun 2011

    Posted 22 Aug 2011 Link to this post

    I found one problem: No Placeholder, but still doesn't work.
    He's is the code with the placeholder in place

    <telerik:RadListView ID="RadListView1" runat="server" AllowPaging="True" ItemPlaceholderID="PlaceHolder1"
        OnItemCreated="RadListView1_ItemCreated" OnPreRender="RadListView1_PreRender">
            <fieldset id="RadListView1">
                <asp:Panel ID="PlaceHolder1" runat="server" />
                <telerik:RadDataPager ID="RadDataPager1" runat="server" Skin="Sitefinity" PageSize="25"
                    PagedControlID="RadListView1" BorderWidth="0">
                        <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                        <telerik:RadDataPagerButtonField FieldType="Numeric" />
                        <telerik:RadDataPagerButtonField FieldType="NextLast" />
                        <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " />
                        <telerik:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go"
                            TextBoxWidth="15" />
                                <div style="float: right">
                                        <asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.Owner.StartRowIndex + 1%>" />
                                        <asp:Label runat="server" ID="TotalPagesLabel" Text="<%# Container.Owner.StartRowIndex+Container.Owner.PageSize %>" />
                                        <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount%>" />
                                        <br />
            <div style="float: left;">
                <fieldset style="border: 0; width: 154px; height: 154px; margin: 5px 5px 5px 5px;">
                    <div class="myClass" style="padding: 2px 2px 2px 2px; background: #eeeeee; text-align: center;">
                        <a href="javascript:Popup_Window('asset_preview','<%# Eval("id") %>')">
                            <telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" AutoAdjustImageControlSize="False"
                                CssClass="myClass" ImageUrl='<%# Eval("thumbUrl") %>' ResizeMode="Fit" AlternateText="Click to view preview"
                                ToolTip="Click to view preview" Width="150px" Height="150px" />
                <div style="border: 0px; white-space: normal; width: 150px; margin: 5px 5px 5px 5px;
                    padding: 2px 2px 2px 2px;">
                    <asp:CheckBox ID="chkImage" runat="server" AutoPostBack="True" />
                    <a href="javascript:Popup_Window('asset_detail','<%# Eval("id") %>')">
                        <%# Eval("title") %>
                        <%# Eval("filenameextension") %></a>
                    <%--<asp:HyperLink ID="lnkAsset" Target="_new" NavigateUrl="assetinfo.aspx" runat="server"><%# Eval("filename") %></asp:HyperLink>--%>
                    <asp:HiddenField ID="hiddenAssetId" Value='<%# Eval("id") %>' runat="server" />
            No Assets Found

Back to Top