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

RowEditEnded bug

8 Answers 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 20 Jul 2009, 04:12 AM
Not sure if this is supposed to happen but....

I have set the validation mode to "row" and created the even handler for grdviewRas_RowEditEnded

everything seems fine as I create a new row and begin entering data however one of the columns is a date. When I click on the date picker and select a date the RowEditEnded event fire even though I still need to enter more data.

Is this something I am doing wrong?

Cheers,
Kevin. 

8 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 20 Jul 2009, 07:27 AM
Hi Kevin,

I have prepared a small sample project with the Q2 binaries, but I was unable to reproduce the behavior that you have described.

I have attached to the event and placed a MessageBox.Show in the event handler to notify me about the event being fired. My actions are the following:

1. Press 'Insert'.
2. Write something.
3. Press 'Tab'
4. Click the date picker button.
5. Choose a date.
6. Click on the last column cell.
7. Enter something.
8. Press 'Enter'.

The message box shows after I have pressed Enter and thus committed the row. I shot a short movie of my actions. Can you help me reproduce this issue, since I seem to be unable to do it. Or perhaps everything is fine with the Q2 binaries and you are using an older version?

Also, can you try to reproduce it with the project that I have attached and let me know how to do it on my end. I am looking forward to hearing from you.

Regards,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Kevin
Top achievements
Rank 1
answered on 20 Jul 2009, 08:22 AM

I can make it fail with your code. It seems to happen when you select the current date.

On your excellent sample I had to get to today’s date. when I clicked on it the message box popped up.

Cheers,
Kevin.

0
Rossen Hristov
Telerik team
answered on 20 Jul 2009, 08:55 AM
Hi Kevin,

I tried it -- but I cannot make it happen on my end.

By the way, are you hitting ENTER, since hitting enter will submit the whole row, no matter on which cell do you do it? The cells that have not been edited will be submitted with their default values, i.e. zero for the integer, etc.

If you only TAB around -- the row will be submitted after you tab out of the last cell. Here is what happens on my end when tabbing only even if I select today's date (which does not matter at all anyway):

The movie.

Can you share what keyboard buttons are you using and the exact sequence. Also, if it is not too much of a hassle, can you make a movie like mine with Jing -- it is free and really neat to use.

All the best,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Kevin
Top achievements
Rank 1
answered on 20 Jul 2009, 09:21 AM

OK, here goes.

I got it to happen on the third go, which is consistent.

Take a look at the video. You may also notice the message box pops up a couple of times seems to do it once when I click on another row after I have finished editing or I press Enter or TAB on the last cell. The message seems to pop up again when I click on the grid again after the first message.

Cheers,
Kevin.

video: http://www.screencast.com/users/JessProductions/folders/Jing/media/62dd0830-a1a4-471b-90d9-4ca5ec3f526e

0
Kevin
Top achievements
Rank 1
answered on 20 Jul 2009, 09:31 AM
FYI, Just tried again and it did the same thing even with other dates.

Seems the current date is a red herring!

K
0
Rossen Hristov
Telerik team
answered on 20 Jul 2009, 11:20 AM
Hi Kevin,

Now I see how to reproduce it. Indeed, that is not the expected behavior.

We will get down to this issue right away and we will try to resolve it as soon as possible.

I would like to thank you for your cooperation and involvement. I have updated your Telerik points for helping us identify the bug.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Kevin
Top achievements
Rank 1
answered on 21 Jul 2009, 12:42 AM
No problem and any table that shows Liverpool above Manchester United get my thumbs up!

Any thoughts on when a solution might be available?
0
Rossen Hristov
Telerik team
answered on 21 Jul 2009, 06:34 AM
Hi Kevin,

We will do our best to include the fix for the Service Pack which is at the end of the month. YNWA :)

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Kevin
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or