This is a migrated thread and some comments may be shown as answers.

Set width and height as percentage

2 Answers 858 Views
Dialog
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 04 Mar 2020, 06:43 AM

Using either html or tag helper, the width and height seem to only accept px.  Dialog for other products accept %.  Does Dialog for Asp.Net Core accept %? 

If I edit the output HTML using browser devtools, percentage works fine.  So I'm guessing I'm just missing something.  

2 Answers, 1 is accepted

Sort by
0
Accepted
Aleksandar
Telerik team
answered on 06 Mar 2020, 03:48 PM

Hello Brian,

Thank you for reporting this behavior. This has been reported as a bug and is logged in our backlog. You could track the status of the item in GitHub here:

https://github.com/telerik/kendo-ui-core/issues/4794

I am further raising the priority of the item, so it moves further in our priority queue. As a workaround, I would suggest setting the width and height after Dialog/Window is initialized, using the setOptions() method, as demonstrated in the GitHub item.

Regards,
Aleksandar
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
0
Brian
Top achievements
Rank 1
answered on 12 Mar 2020, 07:09 PM
Thanks!
Tags
Dialog
Asked by
Brian
Top achievements
Rank 1
Answers by
Aleksandar
Telerik team
Brian
Top achievements
Rank 1
Share this question
or