Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Re: Multiple File Upload - Not showing "Required" elements
Re: Multiple File Upload - Not showing "Required" elements
11-25-2009, 9:20 PM
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Multiple File Upload - Not showing "Required" elements
Reply
Quote
Hi MrHumpty,
Try this way
<%@ Page Language=
"C#"
Title=
"Customize the queue UI"
%>
<%@ Register TagPrefix=
"CuteWebUI"
Namespace=
"CuteWebUI"
Assembly=
"CuteWebUI.AjaxUploader"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
>
<script runat=
"server"
>
protected
void
UploadAttachments1_PreRender(
object
sender, EventArgs e)
{
UploadAttachments1.GetItemsTable().Visible =
false
;
}
</script>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head id=
"Head1"
runat=
"server"
>
</head>
<body>
<form id=
"Form1"
runat=
"server"
>
<CuteWebUI:UploadAttachments runat=
"server"
ID=
"UploadAttachments1"
InsertButtonID=
"BrowseButton"
OnPreRender=
"UploadAttachments1_PreRender"
>
</CuteWebUI:UploadAttachments>
</form>
</body>
<script type=
"text/javascript"
>
var uploader=document.getElementById(
"<%=UploadAttachments1.ClientID %>"
);
uploader.handlequeueui=function myqueueuihandler(list)
{
return
false
;
}
function CuteWebUI_AjaxUploader_OnStart()
{
var hidden=
this
;
hidden.internalobject.cancelBtn.style.visibility=
"hidden"
;
}
</script>
</html>
Regards,
ken
View Complete Thread