RadGrid destroyed when I use Eval

2 posts, 0 answers
  1. Marc
    Marc avatar
    8 posts
    Member since:
    Aug 2016

    Posted 04 Aug 2016 Link to this post

    Hello all,

    I have a hard issue with a Telerik RadGrid, when I use a templateColumn and put <%# Eval("something") %> me table brokes!


    My ASP Code:

    <telerik:RadGrid ID="RadGrid1" runat="server"  AutoGenerateColumns="false">
        <MasterTableView HierarchyLoadMode="Client" DataKeyNames="id" ClientDataKeyNames="id" NoMasterRecordsText="No existen registros a mostrar.">
                <telerik:GridBoundColumn DataField="nombre" UniqueName="nombre" HeaderText="Nombre" />
                <telerik:GridTemplateColumn HeaderText="Tipo">
                        <p><%# Eval("tipo") %></p>
                 <telerik:GridBoundColumn DataField="creacion" UniqueName="creacion" HeaderText="Creación" />


    My broken table:


    My table without Eval:





    Thz for your time.

  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 08 Aug 2016 Link to this post

    Hi Marc,

    Can you please elaborate which version of the controls you are using, how you are binding the RadGrid and if there are JavaScript errors present on the page? Additionally, is the problem observed in debug mode only and in any particular browser or it is replicated in all browsers?

    I am looking forward to your reply.

    Konstantin Dikov
    Telerik by Progress
    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