I have a RadzenLink and I want it to run a particular method when clicked. I'm doing it like this:
<RadzenLink Path=@OnReset Style="margin-bottom: 20px; margin-top: 20px;" Text="Reset" /> The OnReset is:
protected void OnReset() { nameFirst = string.Empty; nameLast = string.Empty; }I get an error on @OnReset at Path property that reads:
Cannot convert method group to string
So how do I provide a method to RadzenLink?