Static Data Not Showing

2 posts, 1 answers
  1. L
    L avatar
    298 posts
    Member since:
    Apr 2008

    Posted 05 Apr 2016 Link to this post



    The radlistbox is not showing or displaying anything on screen. Why is that so? Thanks


    here is my code:


     <telerik:RadListBox ID="lbList"  runat="server" BorderWidth="0px" BorderStyle="None" Width="100%" style="top: 0px; left: 0px"  BorderColor="White">            <ItemTemplate>
                        <td ><asp:Image ID="Image1" runat="server" ImageUrl="~/crm/profileimage/freelance.png" /></td>
                        <td>John Wayne</td>

  2. Answer
    Pavlina avatar
    6187 posts

    Posted 08 Apr 2016 Link to this post


    Could you confirm that you have called DataBind() in order to populate the control?
    public void Page_Load(object sender, EventArgs e)
        if (!Page.IsPostBack)

    I would also recommend you go through the demo and article below that elaborate on ItemTemplates of the ListBox control:

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top