We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

No se muestra el grid

Thread ID:





118823 Apr 13,2015 11:19 AM UTC Apr 16,2015 03:22 PM UTC ASP.NET Web Forms 3
Tags: Grid
Martin Gonzalez de la Torre
Asked On April 13, 2015 11:19 AM UTC

Buenos dias.
Tengo un aspx, en la cual quiero mostrar un listado simple, sin paginación. 
Para ello me traigo en un List<TModel>, un cantidad de unos mil registros, y lo asocio a un Grid, pero el Grid no se muestra. adjunto codigo fuente 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<br /><br />
<div id="wrapper">
    <p>Antes del listado</p>
      <div class="wrapper_tabla">
          <ej:Grid ID="FlatGrid" runat="server" AllowSorting="True" AllowPaging="false" Visible ="true" >
                <ej:Column Field="Nombre" HeaderText="Nombre"   TextAlign="Right" Width="150" Visible="true"/>
                <ej:Column Field="Descripcion" HeaderText="Descripción" Width="250"  Visible ="true" />                
    <br /><br />


  List<Models> modelos= new List<Models>();
        protected void Page_Load(object sender, EventArgs e)
            if (Session["Usuario"] == null)

        private void BindDataSource()
            clsModelos m = new clsModelos();


                for (int i = 0; i < m.listModelos.Count; i++)
                    modelos.Add(new Models(m.listModelos[i].Nombre ,m.listModelos[i].Descripcion ));

                this.FlatGrid.DataSource = modelos;
            catch (Exception err)

        public class Models
            public Models()

            public Models(string nombre, string descripcion)
                this.Nombre = nombre;
                this.Descripcion= descripcion;
            public string Nombre { get; set; }
            public string Descripcion { get; set; }
Muchas Gracias 
Un saludo
Martín Gonzalez-.

Gowthami V [Syncfusion]
Replied On April 14, 2015 10:03 AM UTC

Hi Martin,

We have analyzed the reported issue and the code snippets that you have shared with us. We suspect that you would have missed out to refer the scripts and css files in your project.

The scripts and the css files can be found in the following location.

CSS Location: C:\Program Files (x86)\Syncfusion\Essential Studio\\JavaScript\assets\css\web

Script Location: C:\Program Files (x86)\Syncfusion\Essential Studio\\JavaScript\assets\scripts\web

Please refer the below Online Documentation link for creating a sample in ASP manually.

Online Documentation link: http://help.syncfusion.com/ug/js/default.htm#!documents/createmanually1.htm
For your convenience we have created a simple sample binding 2000 records to grid and displaying the grid without paging. The sample can be downloaded from the below location.

Sample Link: Sample.zip

Please try the above sample and if you are still facing the issue, then please get back to us with more information such as any script error thrown or reproduce the issue in the above sample if possible.

Gowthami V.

Replied On April 15, 2015 07:45 AM UTC

Gowthami V [Syncfusion]
Replied On April 16, 2015 03:22 PM UTC

Hi Martin,
We deeply regret for the inconvenience caused.

We have fixed the issue. The page is working fine now.

Please let us know if you have any concerns.
Gowthami V.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon