Gridviewcheckboxcolumn generating a blank column

Asked

Viewed 35 times

0

I’m creating a form like Radcontrols Winforms Application to make a simple registration of people .

In this form I am using the Telerik Rad Controls

To use the checkbox for each item in the list I used the Gridviewcheckboxcolumn

This is my code for the shipment from Grid

 private void Carrega_Lista()
        {
            GridPessoas.DataSource = Negocio.Pessoa.ConsultarPessoa();
            GridPessoas.EnableFiltering = true;
            GridPessoas.MasterTemplate.ShowFilteringRow = true;
            GridPessoas.AddSelectCheckBoxColumn();
        }

But when adding the GridPessoas.AddSelectCheckBoxColumn();

A blank column is being generated, see the figure below :

inserir a descrição da imagem aqui

Does anyone know how I can solve this ?

  • What Returns Your DS? Business.Person.Query(); How is the HTML control?

  • Sorry, I forgot to mention I’m using the Radcontrols Winforms Application and a desktop and non-web application, I will edit the question .

  • Anyway, try to increase the WIDTH of this column and see if there are no controls inside it

  • @Paulohdsousa I managed to resolve thanks for your attention =D

  • What have you done?

  • I posted the answer from a look

Show 1 more comment

1 answer

0


Troubleshooting and very simple just enter the command in the builder and not in the Carrega_Lista();

public Principal()
{
  InitializeComponent();
  GridPessoas.AddSelectCheckBoxColumn();
} 

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.