Hello Miguel,
I'd suggest you add conditional logic (an if-block) in the cshtml of the view you load in the Window, that will use the ViewData flag and render the button only if necessary. Here's a basic example:
Another approach is to redirect the user without rights to a different view that does not have a form and inputs, but only read-only data (this is perhaps the safer approach as a form can be submitted with JS without a submit button). Here's a basic example:
Regards,
Marin Bratanov
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.