I suggest update Device Screen Size for
Telerik.Web.Device.Detection
using System;
namespace Telerik.Web.Device.Detection
{
/// <summary>
/// The device screen size based on the its dimensions in CSS pixels
/// </summary>
/// <remarks>
///The default ranges are:
/// Small (to 600) CSS pixels
/// Medium (601-1024) CSS pixels
/// Large (1025 - 1366) CSS pixels
/// ExtraLarge (over 1366) CSS pixels
/// FullHD (over 1920) CSS pixels
/// UHD4K = 5 // 3840
/// UHD8K = 6 // 7680
/// UHD10K = 7 // 10240
/// </remarks>
public enum DeviceScreenSize
{
Small = 0, // 0-600
Medium = 1, // 601-1024
Large = 2, // 1025 - 1366
ExtraLarge = 3 // over 1366
FullHD = 4 // 1920
UHD4K = 5 // 3840
UHD8K = 6 // 7680
UHD10K = 7 // 10240
}
}
Best,
Jeff
Hello Jeff,
The Device Detection has a predefined screen sizes for known mobile devices. The way it recognizes the device is via the User Agent string:
This means all the FHD, 4k, and above resolutions are not applicable and the ExtraLarge option is a good fit for that. Also, you can tweak the ranges if needed:
With that said, I am declining this feature request because the User Agent string does not give information on the screen size when a Desktop browser is used, where such resolutions are available.
Regards,
Peter Milchev
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.