Current filter:
                                You should refresh the page.
                                  • I am looking for examples to Show dxpopup and Popup for dxdatagrid as full screen on Mobile Devices.
                                    I saw few samples but its all jquery. I would want to set up using core razor syntax.

                                • Lex (DevExpress Support) 09.18.2019


                                  You can use jQuery approach in ASP.NET Core. So, I recommend you try the approaches your found. The main idea is to use the defaultOptions property to specify the required options.

                                  If it does not work for you, please provide me with sample code that you used, so I can analyze it on my side.

                                • Customer71887 09.19.2019
                                  DevExpress.ui.dxDataGrid.defaultOptions({ device: { deviceType: "desktop" }, options: { // Here go the DataGrid options } });

                                  this is what i see in the forum. How to use this in razor syntax? 

                                1 Solution

                                Creation Date Importance Sort by


                                Thank you for the update. To be able to use this property, add a script block to the head section of your page and use the document.onload or $( document ).ready() function to load this script.

                                Let me know if it helps.

                                • Customer71887 09.19.2019

                                  Ok, what i meant asking was:

                                  Is this not a property /attribute on a popup control? I will have to get the instance of the popup and set the defaultoptions?

                                • Lex (DevExpress Support) 09.19.2019

                                  We have the fullScreen option in our Popup:
                                  However, if you need to apply the fullscreen for both grid popups and standalone popups, it is better to use the defaultOptions property to specify the device. But, if you need to apply this option only for standalone popups, you can try Artems approach from the dxPopup - How to set fullScreen depending on the screen size ticket.
                                  See also:
                                  How to stretch the Popup Edit form and stand-alone Popup to the full screen only on mobile devices in Angular

                                • Customer71887 09.20.2019

                                   var popup = $("#groupNewLocationRequest_popup").dxPopup("instance");

                                              device: { deviceType: "phone" },
                                              options: {

                                   I tried this. It showing error in jquery. defaultOptions is not a function

                                • Customer71887 09.20.2019
                                  DevExpress.ui.dxDataGrid.defaultOptions({ device: { deviceType: "desktop" }, options: { fullScreen:true } }); DevExpress.ui.dxPopup.defaultOptions({ device: { deviceType: "desktop" }, options: { fullScreen:true } });

                                  i tried for datagrid and popup. The popup does not show full screen

                                • Lex (DevExpress Support) 09.20.2019

                                  The code from the last comment should work, so the issue is unexpected. Would you please provide me with a full sample project showing the issue, so I can analyze and debug it on my side? This will help me provide you with a precise solution.