Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Print Preview option in UltraWebGrid
posted

hi

Just like what we have a Print Preview option in WinForms,I need to open a Print Preview page from UltraWebGird, is it possible ..  

regards

winnie

  • 45049
    posted

    WebGrid doesn't have its own printing methods.  Instead, you should use the printing and print-preview functionality of the browser, either from the appropriate menu options or by calling JavaScript functions such as "window.print()".

    I suggest that you look at the "printing friendly" option that WebGrid has.  Otherwise, the page that you print will look exactly as it does on the screen - with scrollbars, if your screen is showing scrollbars.  Turning on the "printing friendly" mode disables all JavaScript for the grid and sends its HTML output such that the result is much nicer for printing.