This is a migrated thread and some comments may be shown as answers.

Listview not shows style

1 Answer 35 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Fred
Top achievements
Rank 1
Fred asked on 01 Nov 2011, 08:58 PM
I have a ListView in my page that follows example in http://demos.telerik.com/aspnet-ajax/listview/examples/appearancestyling/predefinedlayouts/defaultcs.aspx but when page page is rendered it don't show the style. By the way, it's looking ok in designer view.

code:
<telerik:RadListView ID="grdPrincipal" runat="server"
           onneeddatasource="grdPrincipal_NeedDataSource">
          
           <ItemTemplate>
               <div class="rlvI">
               <asp:Label ID="lbFeriado" runat="server" Text='<%# Eval("Motivo") %>' />
               </div>
           </ItemTemplate>
 
           <AlternatingItemTemplate>
               <div class="rlvA">
               <asp:Label ID="lbFeriado" runat="server" Text='<%# Eval("Motivo") %>' />
               </div>
           </AlternatingItemTemplate>     
           
           <EmptyDataTemplate>
               <div class="RadListView RadListView_Default">
                   <div class="rlvEmpty">
                       Nenhum feriado cadastrado.</div>
               </div>
           </EmptyDataTemplate>
           
            <LayoutTemplate>
                <div class="RadListView RadListView_Default">
                   <div id="itemPlaceholder" runat="server">
                   </div>
                              
               </div>
           </LayoutTemplate>
 
       </telerik:RadListView>

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 03 Nov 2011, 01:24 PM
Hi Fred,

Could you please elaborate a bit more on your application.

Dies the issue appear in all browsers or in any specific one. Also please let me know if you are using the latest version of the controls. As the provided code does not give enough information for the described issue it will be best if you could open a regular support ticket and send us runnable version of your application so we could test it locally and advise you further.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ListView
Asked by
Fred
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or