Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Custom css on the upload button
Custom css on the upload button
Last post 07-31-2012, 9:36 AM by
Luuuukke
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
07-30-2012, 11:42 AM
74311
Luuuukke
Joined on 12-21-2009
Posts 19
Custom css on the upload button
Reply
Quote
title says all... is it possible to customise the upload button ?
i do not see a css class on it , nor a way to set one..
thanks !
07-31-2012, 8:18 AM
74318
in reply to
74311
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Custom css on the upload button
Reply
Quote
Hi Luuukke,
You can use property "InsertButtonID" to special the upload button to your own button, then you just need to change the style of your own button. Please try the example below
<%@ Page Language=
"C#"
%>
<%@ Register Namespace=
"CuteWebUI"
TagPrefix=
"CuteWebUI"
Assembly=
"CuteWebUI.AjaxUploader"
%>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head id=
"Head1"
runat=
"server"
>
<title>example</title>
</head>
<body>
<form id=
"form1"
runat=
"server"
>
<CuteWebUI:UploadAttachments ID=
"uploader1"
runat=
"server"
InsertButtonID=
"button1"
>
</CuteWebUI:UploadAttachments>
<asp:Button ID=
"button1"
runat=
"server"
Text=
"my upload"
/>
</form>
</body>
</html>
Regards,
Ken
07-31-2012, 9:36 AM
74322
in reply to
74318
Luuuukke
Joined on 12-21-2009
Posts 19
Re: Custom css on the upload button
Reply
Quote
Thanks a lot !
found it later in the help after posting :(