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
145
WebUpload control not displaying
posted

Hello,

I am trying to get my WebUpload to display on my page.  I followed the following example here:

http://samples.infragistics.com/aspnet/Samples/WebUpload/Display/MultipleUpload/Default.aspx?cn=web-upload&sid=a8c69ee2-99e1-4512-938b-52c5d0b9cb6f

I also referenced:

http://blogs.infragistics.com/forums/p/61007/309866.aspx#309866

But I still can't get the WebUpload to display.  Here is the version of infragistics I'm working with: 11.2 CLR 3.5.  Visual Studio 2008.

I have included the necessarry js files and css files into my project.  I think I reference them in the markup correctly.  I have a master page that has the references and the page where I'm using the WebUpload control is built of that master page. 

Much help will be greatly appreciated. 

Regards,
Francis

Code is below...

Master:
<script type="text/javascript" src="/Scripts/ig.ui.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery.js"></script>
<script type="text/javascript" src="/Scripts/primarynav.js"></script>
<link href="../Styles/jquery.ui.custom.min.css" type="text/css" rel="Stylesheet" />
<link href="../Styles/ig.ui.min.css" type="text/css" rel="Stylesheet" />

 Page:

<%

@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Common/PrimaryNavigation.Master" CodeBehind="Create Project Request Form.aspx.vb" Inherits="CS_Project_Management_Tool.Create_Project_Request_Form" %>

<%

@ Register Assembly="Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Namespace="Infragistics.Web.UI.GridControls" TagPrefix="ig"

%>

<%

 

@ Register Assembly="Infragistics35.WebUI.WebDataInput.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt"

%>

<%

 

@ Register Assembly="Infragistics35.WebUI.Misc.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.WebUI.Misc" tagprefix="igmisc"

%>

<%

 

@ Register Assembly="Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.EditorControls" tagprefix="ig"

%>

<%

 

@ Register Assembly="Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.ListControls" tagprefix="ig"

%>

<%

 

@ Register Assembly="Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.NavigationControls" tagprefix="ig"

%>

<%

 

@ Register assembly="Infragistics35.Web.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI" tagprefix="ig"

%>

<%

 

@ Register assembly="Infragistics35.Web.jQuery.v11.2, Version=11.2.20112.1019, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.EditorControls" tagprefix="ig"

%>

<

 

 

asp:Content ID="Content1" ContentPlaceHolderID="NavigationContent" runat

="server">

<%

 

--<script type="text/javascript" src="~/scripts/jquery-1.7.2.min.js"></script>--

%>\

 

 

<script type="text/javascript" language

="javascript">

$(window).load(

 

function

() {

$(

 

"#igUpload1"

).igUpload({

mode:

 

'multiple'

,

maxUploadedFiles: 5,

maxSimultaneousFilesUploads: 2,

progressUrl:

 

"/samplesbrowser/IGUploadStatusHandler.ashx"

,

onError:

 

function

(e, args) {

showAlert(args);

}

});

});

 

 

function

showAlert(args) {

$(

 

"#error-message").html(args.errorMessage).stop(true, true

).fadeIn(500).delay(3000).fadeOut(500);

}

 

 

</script

>

</

 

 

asp:Content

>

<

 

 

asp:Content ID="Content2" ContentPlaceHolderID="PageHeaderContent" runat

="server">

 

 

<asp:Label ID="Label2" runat="server" Text="Create Project Request"></asp:Label

>

</

 

 

asp:Content

>

<

 

 

asp:Content ID="Content3" ContentPlaceHolderID="InstructionContent" runat

="server">

 

 

<p

>

 

 

&nbsp;</p

>

</

 

 

asp:Content

>

<

 

 

asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat

="server">

 

 

<table width

="100%">

 

 

<tr

>

 

 

<td width="50%" colspan

="2">

 

 

<igmisc:WebGroupBox ID="WebGroupBox1" runat="server" Width

="100%">

 

 

<Template

>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;

 

 

<br

/>

 

 

&nbsp;<asp:Label ID="lblNo" runat="server" Text="No.:"></asp:Label

>

 

 

&nbsp;&nbsp;&nbsp;<ig:WebTextEditor ID="txtNo" runat="server" Width

="75px">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="lblTitle" runat="server" Text="Title:"></asp:Label

>

 

 

&nbsp;&nbsp;&nbsp;<ig:WebTextEditor ID="txtTitle" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:Label ID="lblDescription" runat="server" Text="Description:"></asp:Label

>

 

 

&nbsp;&nbsp;&nbsp;<ig:WebTextEditor ID="txtDescription" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:Label ID="lblDate" runat="server" Text="Date:"></asp:Label

>

 

 

&nbsp;&nbsp;&nbsp;<ig:WebTextEditor ID="txtDate" runat="server" ReadOnly

="True">

 

 

</ig:WebTextEditor

>

 

 

<br

/>

 

 

<br

/>

 

 

<table style="width:

90%">

 

 

<tr

>

 

 

<td

>

 

 

<asp:Label ID="Label5" runat="server" Text="Assigned To:"></asp:Label

>

 

 

</td

>

 

 

<td

>

 

 

<ig:WebDropDown ID="ddl_assign_to" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td

>

 

 

<asp:Label ID="Label3" runat="server" Text="Status:"></asp:Label

>

 

 

</td

>

 

 

<td

>

 

 

<ig:WebDropDown ID="ddl_Status" runat="server" Width

="150px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td

>

 

 

<asp:Label ID="Label4" runat="server" Text="Project Type:"></asp:Label

>

 

 

</td

>

 

 

<td

>

 

 

<ig:WebDropDown ID="WebDropDown2" runat="server" Width

="150px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td

>

 

 

<asp:Label ID="lblDateNeeded" runat="server" Text="Date Needed:"></asp:Label

>

 

 

</td

>

 

 

<td

>

 

 

<ig:WebDatePicker ID="WebDatePicker1" runat

="server">

 

 

</ig:WebDatePicker

>

 

 

</td

>

 

 

</tr

>

 

 

</table

>

 

 

<br

/>

 

 

&nbsp;<asp:Label ID="lblQuantity" runat="server" Text="Quantity:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtQuantity" runat="server" Width

="25px">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;

 

 

<asp:Label ID="lblSize" runat="server" Text="Size:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtSize" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;

 

 

<asp:Label ID="lblNoOfPages" runat="server" Text="No. Of Pages:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtNoOfPages" runat="server" Width

="25px">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;

 

 

<asp:Label ID="lblColors" runat="server" Text="Colors:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtColors" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;

 

 

<asp:Label ID="lblPaperStock" runat="server" Text="Paper Stock:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtPaperStock" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

<br

/>

 

 

<br

/>

 

 

&nbsp;<asp:Label ID="lblRequestedBy" runat="server" Text="Requested By:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtRequestedBy" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:Label ID="lblCostCenter" runat="server" Text="Cost Center:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtCostCenter" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:Label ID="lblCostElement" runat="server" Text="Cost Element:"></asp:Label

>

 

 

&nbsp;&nbsp;

 

 

<ig:WebTextEditor ID="txtCostElement" runat

="server">

 

 

</ig:WebTextEditor

>

 

 

<br

/>

 

 

<br

/>

 

 

</Template

>

 

 

</igmisc:WebGroupBox

>

 

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td valign="top" width="50%" colspan

="2">

 

 

<igmisc:WebGroupBox ID="WebGroupBox2" runat="server" Text="Quotes"

 

 

Width

="75%">

 

 

<Template

>

 

 

<table width

="100%">

 

 

<tr

>

 

 

<td width

="15%">

 

 

<asp:Label ID="lblV6" runat="server" Text="Vendor:"></asp:Label

>

 

 

</td

>

 

 

<td width

="5%">

 

 

&nbsp;</td

>

 

 

<td width

="25%">

Name

 

</td

>

 

 

<td width

="10%">

Price ($)

 

</td

>

 

 

<td width

="45%">

Comments

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td width

="15%">

 

 

<ig:WebDropDown ID="WebDropDown4" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="5%">

 

 

<asp:CheckBox ID="CheckBox1" runat="server"

/>

 

 

</td

>

 

 

<td width

="25%">

 

 

<ig:WebDropDown ID="WebDropDown9" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="10%">

 

 

<ig:WebTextEditor ID="txtTitle5" runat="server" Width

="90%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

<td width

="45%">

 

 

<ig:WebTextEditor ID="txtTitle10" runat="server" Width

="100%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td width

="15%">

 

 

<ig:WebDropDown ID="WebDropDown5" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="5%">

 

 

<asp:CheckBox ID="CheckBox2" runat="server"

/>

 

 

</td

>

 

 

<td width

="25%">

 

 

<ig:WebDropDown ID="WebDropDown10" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="10%">

 

 

<ig:WebTextEditor ID="txtTitle6" runat="server" Width

="90%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

<td width

="45%">

 

 

<ig:WebTextEditor ID="txtTitle11" runat="server" Width

="100%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td width

="15%">

 

 

<ig:WebDropDown ID="WebDropDown6" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="5%">

 

 

<asp:CheckBox ID="CheckBox3" runat="server"

/>

 

 

</td

>

 

 

<td width

="25%">

 

 

<ig:WebDropDown ID="WebDropDown11" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="10%">

 

 

<ig:WebTextEditor ID="txtTitle7" runat="server" Width

="90%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

<td width

="45%">

 

 

<ig:WebTextEditor ID="txtTitle12" runat="server" Width

="100%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td width

="15%">

 

 

<ig:WebDropDown ID="WebDropDown7" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="5%">

 

 

<asp:CheckBox ID="CheckBox4" runat="server"

/>

 

 

</td

>

 

 

<td width

="25%">

 

 

<ig:WebDropDown ID="WebDropDown12" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="10%">

 

 

<ig:WebTextEditor ID="txtTitle8" runat="server" Width

="90%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

<td width

="45%">

 

 

<ig:WebTextEditor ID="txtTitle13" runat="server" Width

="100%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td width

="15%">

 

 

<ig:WebDropDown ID="WebDropDown8" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="5%">

 

 

<asp:CheckBox ID="CheckBox5" runat="server"

/>

 

 

</td

>

 

 

<td width

="25%">

 

 

<ig:WebDropDown ID="WebDropDown13" runat="server" Width

="200px">

 

 

</ig:WebDropDown

>

 

 

</td

>

 

 

<td width

="10%">

 

 

<ig:WebTextEditor ID="txtTitle9" runat="server" Width

="90%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

<td width

="45%">

 

 

<ig:WebTextEditor ID="txtTitle14" runat="server" Width

="100%">

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

</tr

>

 

 

<tr

>

 

 

<td valign="top" width

="20%">

 

 

<asp:Label ID="Label1" runat="server" Text="Delivery Intructions:"></asp:Label

>

 

 

</td

>

 

 

<td colspan

="4">

 

 

<ig:WebTextEditor ID="txtDeliveryInstructions" runat="server"

 

 

TextMode="MultiLine" Width

="100%">

 

 

<MultiLine Rows="5"

/>

 

 

</ig:WebTextEditor

>

 

 

</td

>

 

 

<td

>

 

 

&nbsp;</td

>

 

 

<td

>

 

 

&nbsp;</td

>

 

 

<td valign

="top">

 

 

&nbsp;</td

>

 

 

</tr

>

 

 

</table

>

 

 

<br

/>

 

 

</Template

>

 

 

</igmisc:WebGroupBox

>

 

 

</td

>

 

 

</tr

>

 

 

</table

>

 

 

<br

/>

 

 

<ig:WebUpload ID="WebUpload1" runat

="server"

 

 

mode="Multiple" MaxSimultaneousFilesUploads="2" OnUploadFinishing="WebUpload1_UploadFinishing" ShowFileExtensionIcon

="True">

 

 

<ClientEvents OnError="onErrorHandler"

/>

 

 

</ig:WebUpload

>

 

 

<div id="error-message" style="color: #FF0000; font-weight: bold;"></div

>

 

 

<br

/>

 

 

<br

/>

 

 

<igmisc:WebGroupBox ID="WebGroupBox4" runat="server" Text="Notes" Width

="99.9%">

 

 

<Template




>

 

 

<ig:WebTextEditor ID="WebTextEditor2" runat="server" TextMode="MultiLine"

 

 

Width

="80%">

 

 

<MultiLine Rows="10"

/>

 

 

</ig:WebTextEditor

>

 

 

<br

/>

 

 

<br

/>

 

 

<igtxt:WebImageButton ID="WebImageButton1" runat="server" Text

="Submit">

 

 

</igtxt:WebImageButton

>

 

 

</Template

>

 

 

</igmisc:WebGroupBox

>

 

 

 

</asp:Content

Parents
  • 5105
    Suggested Answer
    Offline posted

    Hi there,

    Please reference our script file after all other scripts (especially jQuery and jQuery UI) as it is dependent on those.

    <script type="text/javascript" src="/Scripts/ig.ui.min.js"></script>

    Let me know if you still have issues with it.

Reply Children