Integrating JavaScript in Radzen Pages

You can set your own id attribute:


Here is how to set for example TextBox value by id (there is JSRuntime injected by default in every page):

await JSRuntime.InvokeVoidAsync("eval", $@"document.getElementById(""MyId"").value = ""Some value""")


2 Likes