Welcome Guest Search | Active Topics | Sign In | Register

UploadButtonStyle not responding on AJAXUploader Options
UglyDuckling
Posted: Monday, October 1, 2007 4:55:45 PM
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>


eo_support
Posted: Monday, October 1, 2007 5:00:04 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.