We are using Telerik RadControls for WPF Q3 2010. We have a RadGridView in which the user can edit the data displayed. The edit control for string columns is RadMaskedTextBox.
When I want to enter a @ character with AltGr+v using Hungarian keyboard layout, it seems a 'weird' paste operation (Ctrl+v) occurs: when the clipboard contains multi-line text, new rows are inserted in the grid, when single-line, nothing happens.
Also the AltGr+c (which is a & for hu-HU) wont work. Other key combinations which I've tested works fine.
I can reproduce this issue using the RadControls for WPF Demo -> GridView -> First Look example (where the cells are editable).
Thanks,
Zoltan Tanczos
6 Answers, 1 is accepted
It seems that you have hit a known issue in RadMaskedTextBox. I strongly recommend you to use our brand new MaskedInputControl where such a behavior cannot be observed. Just predefine the CellEditTemplate of GridViewDataColumn and place the desired control there:
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Property1}"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Property1}"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
<
telerik:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellEditTemplate
>
</
telerik:GridViewDataColumn
>
You may read more about this in our online documentation, please follow this link.
Regards,
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
We upgraded our Telerik WPF version to 2011 Q2, and switched from RadMaskedTextBox to RadMaskedTextInput and the same problem still present.
Please, let me know if there's any work around, because the '@' sign is really important when the user has to enter an email address, and the main keyboard layout is hu-HU for almost every client.
Thanks in advance,
Zoltan Tanczos
Sorry for the late reply!
Indeed the described behavior is not reproduceable when the RadMaskedInput control is outside of RadGridView. We need some more time to investigate what might be causing this issue on a grid level and let you notify as soon as we have a position on that matter.
Please excuse us for any inconvenience caused!
Vanya Pavlova
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
2011.3.1220.40
You say that you have the same problem, but may I ask you to confirm what is the control you use - is it the RadMaskedTextInput or another RadMaskedInput control? Then would you please test with our most recent version - 2012.3.1129 and let me know about the result?
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
i upgraded to latest version, and problem is solved.
tnx