Hello, is it possible to use global variables in Radzen Blazor Studio? Do you have examples on how to create global variables?
Thank you!
Kind regards
Hello, is it possible to use global variables in Radzen Blazor Studio? Do you have examples on how to create global variables?
Thank you!
Kind regards
Hi @d.kotou,
There is no such feature in Radzen Blazor Studio since the code of the page is generated during the page creation unlike Radzen where the code is generated on every run from the meta json. You can add however exactly the same code in your Bazor project using Radzen Blazor Studio - a service that will hold desired variable(s) registered on when app starts:
Later you can inject this service in desired page(s):