using jquery
<script type="text/javascript" src="@Url.Content("~/scripts/jquery-1.8.3.js")"></script>
<script type="text/javascript" src="@Url.Content("~/scripts/jquery-ui-1.9.2.custom.js")"></script>
infragistrics upload scripts.
<link type="text/css" href="@Url.Content("~/css/themes/infragistics/infragistics.theme.css")" rel="stylesheet" />
<link type="text/css" href="@Url.Content("~/css/structure/infragistics.css")" rel="stylesheet" />
<script type="text/javascript" src="@Url.Content("~/scripts/modules/infragistics.util.js")"></script>
<script type="text/javascript" src="@Url.Content("~/scripts/modules/infragistics.ui.shared.js")"></script>
<script type="text/javascript" src="@Url.Content("~/scripts/modules/infragistics.ui.upload-en.js")"></script>
<script type="text/javascript" src="@Url.Content("~/scripts/modules/infragistics.ui.upload.js")"></script>
<script type="text/javascript" src="@Url.Content("~/scripts/infragistics.js")"></script>
+ instruction on document for igUpload, but I keep getting the error.
Microsoft JScript runtime error: Object doesn't support property or method 'igUpload'
Hello iorfino ,
Thank you for posting in our forum.
For the igUpload you need the following scripts(in that order):
infragistics.util.js
infragistics.ui.shared.js
infragistics.ui.upload.js
No need to load the specific localized file : scripts/modules/infragistics.ui.upload-en.js or the whole infragistics.js.
Or you can use the igLoader andspecify which resources you want it to load. For example:
Html:
$.ig.loader({
scriptPath: "/js/",
cssPath: "/css/",
resources: 'igUpload,igShared'
});
MVC:
@( Html.Infragistics()
.Loader()
.ScriptPath(Url.Content("~/js/"))
.CssPath(Url.Content("~/css/"))
.Resources("igShared,igUpload")
.Render()
)
Alternatively you can add just the infragistics.js which contains all the IG controls.
Let me know if you still encounter any issues with the scripts .
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support