Hello,
I have togive a custom behaviour to a RadGridView on the Delete or Up/Down key press.
Unfortunately, the RadGrid KeyPress doesn’t risen by the special keys.
So the only way I find to catch those keys press is to override the IsInputkey function so tomake my own control witch extends from the telerik radGrid.
public class CtrlRadGrid : Telerik.WinControls.UI.RadGridView
{
public CtrlRadGrid()
:base(){}
public delegate void InputKeyEvent(Keys keyData);
public event InputKeyEvent InputKeyOccurs = null;
protected override bool IsInputKey(KeyskeyData)
{
if (InputKeyOccurs != null)
{
InputKeyOccurs(keyData);
}
return base.IsInputKey(keyData);
}
}
All works great, my event is raised by all the keys, and all the grid keep isfunctionality… except the skin…
I think that there must be a control on the name of the class…
So is there a simple way to apply the skin on my own control witch extends from radGrid?
Is there a simple way to catch the keyPress from special keys?