Recording MIDI from Medeli to Nuendo

Hi there,
I would like to ask you about my problem with recording a MIDI to Nuendo 4.3. I want to record Midi from my Medeli DD505 electronic drums set to Nuendo via M-Audio M-Track. I have plugged Midi cable from drums to M-Audio Track. In Nuendo i can see that the midi meter is reacting when i play the drums, but i can’t find a solution how to record that midi signal from drums to midi track, because wheni press the record button, nothing is recorded. I tried to setup new midi device, then associate it with input, but it doesn’t worked. Then i tried to create a midi track and setup an midi input from M-Track, that doest worked too. Other inputs on M-Audio Track works with no problem. Any ideas to solve it?