Hello,
I've a strange issue. I'm using a radGrid with editForm for editing and updating my records.
I've (single) row-selection enable and also keyboard support enabled.
In my EditForm I've placed a RadDatePicker. When records exists and I'm pressing the <DEL> / Delete button (on the keyboard) in the RadDatePicker Input field, to delete f.e. the date value, than the Delete Command on the grid is fired and the focused/selected record in the grid is deleted. I only expected the RadDatePicker Input Field to remove a character.
Is this normal behaviour?
Regards,
JosM
I've a strange issue. I'm using a radGrid with editForm for editing and updating my records.
I've (single) row-selection enable and also keyboard support enabled.
In my EditForm I've placed a RadDatePicker. When records exists and I'm pressing the <DEL> / Delete button (on the keyboard) in the RadDatePicker Input field, to delete f.e. the date value, than the Delete Command on the grid is fired and the focused/selected record in the grid is deleted. I only expected the RadDatePicker Input Field to remove a character.
Is this normal behaviour?
Regards,
JosM
7 Answers, 1 is accepted
0
Hello Jos,
Tsvetoslav
the Telerik team
Thank you for contacting us.
I tried to replicate the problem in a sample of mine but to no success. Please, take a look at the attached sample and let me know if I am missing something.
Tsvetoslav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0

RvdGrint
Top achievements
Rank 1
answered on 10 Feb 2012, 08:10 AM
Tsvetoslav,
thnx for your reply. You are using inline editing while I am using, as described, an editForm. Could that be the difference?
So the problem occurs when the RadDatePicker is on an EditForm in a RadGrid and you add a record while there are existing records. When pressing delete when focus and cursor are in the DatePicker field than the Delete command on the Grid is triggerd.
Regards,
Jos.
thnx for your reply. You are using inline editing while I am using, as described, an editForm. Could that be the difference?
So the problem occurs when the RadDatePicker is on an EditForm in a RadGrid and you add a record while there are existing records. When pressing delete when focus and cursor are in the DatePicker field than the Delete command on the Grid is triggerd.
Regards,
Jos.
0
Hi Jos,
Tsvetoslav
the Telerik team
No, I am using the EditForms mode in my sample. I even tried with a edit form template - the result is the same. Please, run my sample, compare your own implementation with it, note the differences and let me know what needs to be tweaked as to replicated the issue.
Tsvetoslav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0

RvdGrint
Top achievements
Rank 1
answered on 10 Feb 2012, 10:25 AM
Tsvetoslav,
sorry I'm using an EditFormTemplate.
But that doesn't matter. I've issolated the problem and if you add the following:
To the grid:
And javascript:
Now you should be able to reproduce my issue.
Regards,
Jos
sorry I'm using an EditFormTemplate.
But that doesn't matter. I've issolated the problem and if you add the following:
To the grid:
<
ClientEvents
OnGridCreated
=
"SelectFirstOnGridCreated"
/>
And javascript:
<
telerik:RadScriptBlock
ID
=
"ScriptBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function SelectFirstOnGridCreated(sender, args) {
if (sender.get_masterTableView().get_dataItems().length > 0) {
sender.set_activeRow(sender.get_masterTableView().get_dataItems()[0].get_element());
sender.get_masterTableView().get_dataItems()[0].set_selected(true);
}
}
</
script
>
</
telerik:RadScriptBlock
>
Now you should be able to reproduce my issue.
Regards,
Jos
0
Hi Jos,
I managed to reproduce the problem - however, we shall need some time to investigates. As soon as we get some results on that we will get back to you with further feedback.
All the best,
Tsvetoslav
the Telerik team
I managed to reproduce the problem - however, we shall need some time to investigates. As soon as we get some results on that we will get back to you with further feedback.
All the best,
Tsvetoslav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Accepted
Hello Jos,
I am glad to inform you that the issue has been fixed. However, the fix did not make it into the official Q1 2012 release, as it required more testing. Still the next latest internal build that should be out by the middle of next week will contain it. You can safely download and use it - it is no less stable than the official release build.
I have also updated your telerik points accordingly.
All the best,
Tsvetoslav
the Telerik team
I am glad to inform you that the issue has been fixed. However, the fix did not make it into the official Q1 2012 release, as it required more testing. Still the next latest internal build that should be out by the middle of next week will contain it. You can safely download and use it - it is no less stable than the official release build.
I have also updated your telerik points accordingly.
All the best,
Tsvetoslav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0

RvdGrint
Top achievements
Rank 1
answered on 16 Feb 2012, 10:09 AM
Tsvetoslav,
Thnx.
Regards,
Jos.
Thnx.
Regards,
Jos.