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

Bug: CheckBoxes on Grid turn to True or False

4 Answers 63 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jorge Gonzalez
Top achievements
Rank 1
Jorge Gonzalez asked on 28 Jan 2010, 04:32 PM
Hello,
     I several checkbox columns on my grid and every once in a while a checkbox in one of the rows turns to the word True or False.
Usually when I scroll up or down it will change back to a checkbox but sometimes it won't and when I click on the checkbox that's changed the cell is protected. I have to close the app down. 

4 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 29 Jan 2010, 03:11 PM
Hi Jorge Gonzalez,

Can you confirm that you are reproducing this with our latest binaries (2009.3.1314 or above)? If so please send me a sample project which I can debug on my side (you have to open a support ticket in order to be able to attach files).

Kind regards,
Nedyalko Nikolov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jorge Gonzalez
Top achievements
Rank 1
answered on 30 Jan 2010, 02:52 AM
Hello Nedyalko Nikolov ,
      This strange problem does not occur at work but seems to happen when I connect remotely to work using IPASS. I am using the latest libraries (2009.3.1314.35). Here's a snippet of the code where I get the data for the grid from a procedure, add the two checkbox columns to the dataset, and than connect it to the grid. I am also working on an ancient IBM T43 laptop (1.8 gig hertz, 2gig ram)  :

AseDataAdapter aseadpt = new AseDataAdapter();
            AseCommand asecomm = new AseCommand();
            DataColumn newColumn;
            int numColumns;

            asecomm.Connection = Sybcon.SybDBConn;
            asecomm.CommandType = CommandType.StoredProcedure;
            asecomm.CommandText = "dbo.get_target_servers_sp";

            aseadpt.SelectCommand = asecomm;

            aseadpt.Fill(TargetDatasetRef);

            TargetServersDataTable = TargetDatasetRef.Tables[0];

            // Add two new boolean columns to the datatable.
            newColumn = new DataColumn();
            newColumn.DataType = System.Type.GetType("System.Boolean");
            newColumn.ColumnName = "selectserver";
            newColumn.AutoIncrement = false;
            newColumn.Caption = "Select Server";
            newColumn.ReadOnly = false;
            newColumn.Unique = false;
            newColumn.AllowDBNull = true;

            TargetServersDataTable.Columns.Add(newColumn);

            newColumn = new DataColumn();
            newColumn.DataType = System.Type.GetType("System.Boolean");
            newColumn.ColumnName = "verifyserver";
            newColumn.AutoIncrement = false;
            newColumn.Caption = "Verify Server";
            newColumn.ReadOnly = false;
            newColumn.Unique = false;
            newColumn.AllowDBNull = true;

            TargetServersDataTable.Columns.Add(newColumn);

            numColumns = TargetServersDataTable.Columns.Count;

            // Initialize these two new columns.
            for (int i = 0; i < TargetServersDataTable.Rows.Count; i++)
            {
                TargetServersDataTable.Rows[i][numColumns - 2] = false;
                TargetServersDataTable.Rows[i][numColumns - 1] = false;
            }

            target_servers.ItemsSource = TargetDatasetRef;
   


0
Nedyalko Nikolov
Telerik team
answered on 04 Feb 2010, 07:59 AM
Hello Jorge Gonzalez,

I've tried to simulate the problem, unfortunately to no avail. Please take a look at this video and let me know if I did something wrong. Can you also provide me with more information about the operation system which is installed on this laptop and any other information that you find useful?

Kind regards,
Nedyalko Nikolov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Jorge Gonzalez
Top achievements
Rank 1
answered on 04 Feb 2010, 05:53 PM
Hello Nedyalko Nikolov ,
   My work machine is running Windows XP service pack 3. I suspect the problem could be caused by me working remotely . I am using IPassConnect to connect to my work computers.
Tags
GridView
Asked by
Jorge Gonzalez
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Jorge Gonzalez
Top achievements
Rank 1
Share this question
or