Is it possible to stop event propagation in c# code behind? or only as attribute?


Hi @Thomas,

Blazor does not support this feature at framework level. Frankly it isn't possible to implement as the code should go to the server and back again when it is too late to invoke the JS preventDefault method. This is why it is implemented as an attribute and handled by the framework at client-side.

Hi @korchev,
I understand. Thank you!