How to combine css and js files.

  •  01-10-2013, 3:37 AM

    How to combine css and js files.

    Hi

     

    1)There are total 10 js files and 5 css files it calls when we use DotNetGallery control.How we can comabine into one js and css file.It makes 15 requests.Also how we can assign our desired path for the css and js file insted of the default path.

     

    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Core/GalleryLibrary.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Share/LibraryExt.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Core/GalleryMenu.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Core/GalleryBrowser.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Layout/Modern/Code.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Slider/NewWin/Code.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Viewer/LightBox/Code.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Popup/Default/Code.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Theme/Classic/Code.js"></script>
    <script type="text/javascript" src="/CuteSoft_Client/Gallery/Editor/Explorer/Code.js"></script>
    <link rel="stylesheet" href="/CuteSoft_Client/Gallery/Gallery.css">
    <link rel="stylesheet" href="/CuteSoft_Client/Gallery/Theme/Classic/Style.css">
    <link rel="stylesheet" href="/CuteSoft_Client/Gallery/Layout/Modern/Style.css">
    <link rel="stylesheet" href="/CuteSoft_Client/Gallery/Viewer/LightBox/Style.css">
    <link rel="stylesheet" href="/CuteSoft_Client/Gallery/Editor/Explorer/Style.css">

     

    2) Is there any event available when file upload completes.Where we can call some functionality ones file upload is done.

    3) Currently it shows 1 file(s) have been uploaded!.Can we customize this alert message.

    4) How about Asp.net image gallery with MVC.

     Regards

    Sekhar 

View Complete Thread