Rank: Member Groups: Member
Joined: 8/29/2007 Posts: 20
|
I have a button style that I've applied to the browse button and upload button of an AJAXUploader. The Browse button renders correctly but the Update button remains as a regularly styled control. Anything obvious from the markup file?
Code: HTML/ASPX
<eo:AJAXUploader ID="upload" runat="server" AllowedExtension="" EnableKeyboardNavigation="True" OnFileUploaded="upload_FileUploaded" TempFileLocation="~/Server" UseLinkButton="False" AutoPostBack="True" Width="100%" MaxFileCount="1">
<UploadButtonStyle CssText="dialogButton"/>
<BrowseButtonStyle CssClass="dialogButton" />
<LayoutTemplate>
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
<asp:PlaceHolder ID="InputPlaceHolder" runat="server">Input Box Place Holder </asp:PlaceHolder>
<asp:Button ID="UploadButton" runat="server" Text="Upload" />
</td>
</tr>
</table>
</LayoutTemplate>
</eo:AJAXUploader>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
UpdateButtonStyle is not applied when you use LayoutTemplate since the button itself appears in the template. You would just edit the template to modify its styles.
Thanks
|