Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Re: queue list
queue list
Last post 07-13-2010, 10:57 PM by
Kenneth
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
07-13-2010, 3:35 PM
62461
Troyan
Joined on 04-10-2010
Posts 2
queue list
Reply
Quote
hello after the examples that I use to change the design of the waiting list. in visual studio design changes, but in execution it does not take into account?
Have you a new simple example in vb.net for exchange the queue list?
07-13-2010, 10:57 PM
62465
in reply to
62461
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: queue list
Reply
Quote
Hi Troyan,
Please try the example below
<%@ Page Language=
"VB"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<script runat=
"server"
>
Protected
Sub
Attachments1_PreRender(
ByVal
sender
As
Object
,
ByVal
e
As
EventArgs)
Attachments1.GetItemsTable().Visible =
False
DataList1.DataSource = Attachments1.Items
DataList1.DataBind()
End
Sub
Protected
Sub
DataList1_ItemCommand(
ByVal
source
As
Object
,
ByVal
e
As
DataListCommandEventArgs)
Attachments1.Items(e.Item.ItemIndex).Remove()
End
Sub
</script>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head runat=
"server"
>
<title>Untitled Page</title>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<div>
<CuteWebUI:UploadAttachments InsertText=
"Upload Multiple files Now"
runat=
"server"
OnPreRender=
"Attachments1_PreRender"
ID=
"Attachments1"
>
</CuteWebUI:UploadAttachments>
<asp:DataList ID=
"DataList1"
runat=
"server"
OnItemCommand=
"DataList1_ItemCommand"
>
<ItemTemplate>
<table cellpadding=
"0"
cellspacing=
"0"
border=
"0"
style="border-top: solid 1px #ededed;
border-bottom: solid 1px #ededed;">
<tr>
<td style=
"border-left: solid 1px #ededed; width: 40px"
>
<img src=
"CuteWebUI_Uploader_Resource.axd?type=file&file=circle.png&_ver=634009764514705972"
/></td>
<td style=
"border-left: solid 1px #ededed; width: 300px"
>
<%# Eval(
"FileName"
) %>
(
<%# Eval(
"FileSize"
) %>
Byte
)
</td>
<td style=
"border-left: solid 1px #ededed; border-right: solid 1px #ededed; width: 50px"
>
<asp:LinkButton ID=
"remove"
runat=
"server"
>remove</asp:LinkButton></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</div>
</form>
</body>
</html>
Regards,
ken