1
Reply

how to use client side resolution like width & height in the javascript (asp.net accept)

patel varsha

patel varsha

15y
6.9k
0
Reply

    first you have to find the resolution after that you can  modify your application gui issues

    below i mentioned the code to retrive the resolution using JS
    /*************************************************/
    function GetResolution(){
    var width=screen.width;
    var height=screen.height;
    document.getElementById(
    "hdnresolutionwidth").value=width;
    document.getElementById(
    "hdnresolutionheight").value=height;
    }
    /*********************************************************/

    from this hdn values you can use and chage the GUI settings in your application