We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Visible

Thread ID:

Created:

Updated:

Platform:

Replies:

128477 Jan 25,2017 04:42 AM Jan 27,2017 04:20 AM ASP.NET Web Forms 3
loading
Tags: Uploadbox
Hrvoje Voda
Asked On January 25, 2017 04:42 AM

I'm trying to use uploadbox.
I put it on my page but it's not visible.

Am I missing some script or style?

this is bundle:

 bundles.Add(New ScriptBundle("~/bundles/MsAjaxJs").Include(
                "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"))

            bundles.Add(New ScriptBundle("~/bundles/WebFormsJs").Include(
                        "~/Scripts/WebForms/WebForms.js",
                        "~/Scripts/WebForms/WebUIValidation.js",
                        "~/Scripts/WebForms/MenuStandards.js",
                        "~/Scripts/WebForms/Focus.js",
                        "~/Scripts/WebForms/GridView.js",
                        "~/Scripts/WebForms/DetailsView.js",
                        "~/Scripts/WebForms/TreeView.js",
                        "~/Scripts/WebForms/WebParts.js"))

            ScriptManager.ScriptResourceMapping.AddDefinition("respond", New ScriptResourceDefinition() With {
                .Path = "~/_COMMON/Scripts/ej/respond.min.js",
                .DebugPath = "~/_COMMON/Scripts/ej/respond.js"})

            bundles.Add(New StyleBundle("~/_COMMON/Styles/ej/flat-saffron/Syncfusioncss").Include(
                            "~/_COMMON/Styles/ej/gradient-lime/ej.web.all.min.css", New CssRewriteUrlTransformWrapper()))


            bundles.Add(New StyleBundle("~/_COMMON/Styles/css").Include(
                        "~/_COMMON/Styles/grawe.css",
                        "~/_COMMON/Styles/jquery-ui.css",
                        "~/_COMMON/Styles/ej/bootstrap.css",
                        "~/_COMMON/Styles/ej/Site.css",
                        "~/_COMMON/Styles/EjGridToolbar.css",
                        "~/_COMMON/Styles/modalPopLite.css",
                        "~/_COMMON/Styles/sweetalert.css",
                        "~/_COMMON/Styles/toastr.css"
            ))
            bundles.Add(New ScriptBundle("~/bundles/Scripts/Library").Include(
                        "~/_COMMON/Scripts/grawe.js",
                        "~/_COMMON/Scripts/jquery-3.1.1.min.js",
                        "~/_COMMON/Scripts/jQuery.UI.block.js",
                        "~/_COMMON/Scripts/jquery-ui.js",
                        "~/_COMMON/Scripts/jsrender.min.js",
                        "~/_COMMON/Scripts/ej/ej.widget.all.min.js",
                        "~/_COMMON/Scripts/ej/cultures/ej.culture.hr-HR.min.js",
                        "~/_COMMON/Scripts/accounting.min.js",
                        "~/_COMMON/Scripts/global.js",
                        "~/_COMMON/Scripts/moment-with-locales.js",
                        "~/_COMMON/Scripts/sweetalert-dev.js",
                        "~/_COMMON/Scripts/es6-promise.auto.min.js",
                        "~/_COMMON/Scripts/toastr.min.js"
            ))


aspx: 

<ej:UploadBox ID="matIMG" runat="server" SaveUrl="saveFiles.ashx" AutoUpload="false">
                                       </ej:UploadBox>

Karthikeyan Viswanathan [Syncfusion]
Replied On January 26, 2017 02:12 AM

Hi Hrvoje Voda,    
  
Thanks for contacting Syncfusion support.   
 
 You have added enough scripts and styles into bundle. Please ensure once whether the scripts and styles are loaded or not by using browser developer tools. And also ensure the bundle is initialized into asp:ScriptManager. And share the details on this. If you need server side action , you will need to add ej.webform.js script file into your project. 
  
Regards,    
Karthikeyan V.  


Hrvoje Voda
Replied On January 26, 2017 02:48 AM

Bundle is working fine.
I added ej.webform.js but It still doesn't work.


Karthikeyan Viswanathan [Syncfusion]
Replied On January 27, 2017 04:20 AM

Hi Hrvoje Voda,     
   
Thanks for your reply.    
  
 We have prepared sample for uploadbox with Syncfusion script and style bundles.  
 
 
We suspect that assemblies may be not an initialized. Try the below code snippet and register the assembles. 
<code> 
Aspx page 
 
<%@ Register Assembly="Syncfusion.EJ.Web" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %> 
</code> 
 
 
Otherwise still you have a rendering issue please revert us the sample as an issue reproducible one or provide your own sample. 
   
Regards,     
Karthikeyan V. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;