multiple Buttons showing

  •  07-02-2010, 2:16 AM

    multiple Buttons showing

    Hello,
     
    Cutewebui shows multiple upload buttons in page. I have assigned InsertButtonID but still it shows its default button and assigned button. 
     can you please look at code why it is happening?
     
    Check the Add New Video button.
     
     
     Code In Aspx page
     
    <td>
                                                
                                                <CuteWebUI:Uploader ID="uploadvideo"   runat="server" UploadType="Auto"
                                                        MultipleFilesUpload="False" NumFilesShowCancelAll="1" InsertButtonID="btn_addVideo"
                                                        OnFileUploaded="CuteUploader_VideoUploaded" DialogFilter="(*.WMV;*.FLV;*.MOV)|*.WMV;*.FLV;*.MOV"
                                                         MaxFilesLimit="1">
                                    
                                                     </CuteWebUI:Uploader>
                                                <asp:LinkButton id="btn_addVideo" CssClass="squarebutton" CausesValidation="false"  runat="server"><span>Add New Video</span></asp:LinkButton></td>
     
    Buttons In HTML Page
     
     
     
     
     
    HTML Source
     
    <td width="10%" class="headingtext" valign="top" align="right">Attach&nbsp;Video&nbsp;:</td>
    <td align="left" class="clsInsideTable" valign="bottom">
    <table cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td>

    <input id="ctl00_ContentPlaceHolderUiMaster_uploadvideo" name="ctl00$ContentPlaceHolderUiMaster$uploadvideo" type="hidden" autocomplete="off" /><img UniqueID="ctl00$ContentPlaceHolderUiMaster$uploadvideo" Namespace="CuteWebUI" Root="/newdesign/" VerTicks="634134683147812500" FileTooLargeMsg="{0} cannot be uploaded!

    File size ({1}) is too large. The maximum file size allowed is set to: {2}." MaxFilesLimitMsg="The maximum number of files allowed to be uploaded is set to {0}." WindowsDialogLimitMsg="Unable to select so many files at once. The total file name length cannot exceed 32kb." CancelUploadMsg="Cancel upload" CancelAllMsg="Cancel all Uploads" UploadingMsg="Uploading.." UploadAddonButtonMode="Auto" DialogFilter="(*.WMV;*.FLV;*.MOV)|*.WMV;*.FLV;*.MOV" UploadType="Auto" UploadCursor="Auto" MaxFilesLimit="1" UploadedFileCount="0" NumFilesShowCancelAll="1" ShowProgressBar="1" ShowProgressInfo="1" PanelWidth="360" BarHeight="20" InfoStyle="padding-left:3px;font:normal 12px Tahoma;" BarStyle="Continuous" BorderStyle="border:1px solid #444444;" PostBackEventReference="__doPostBack('ctl00$ContentPlaceHolderUiMaster$uploadvideo','')" InsertButtonID="ctl00_ContentPlaceHolderUiMaster_btn_addVideo" CancelButtonID="ctl00_ContentPlaceHolderUiMaster_uploadvideo__Cancel" ProgressTextID="ctl00_ContentPlaceHolderUiMaster_uploadvideo__ProgressText" ProgressCtrlID="ctl00_ContentPlaceHolderUiMaster_uploadvideo__Progress" InsertText="Upload a file" InputboxCSSText="" ContextValue="!3wEWAQUOfi9VcGxvYWRlclRlbXDDwg!1jIUDvZkEpsN4hhAy3!1g9L0w!2!2" ServerLang="AspNet" id="ctl00_ContentPlaceHolderUiMaster_uploadvideoImage" ResourceHandler="/newdesign/CuteWebUI_Uploader_Resource.axd" onload="this.style.display=&quot;none&quot; ; CuteWebUI_AjaxUploader_Initialize(this.id);" onerror="this.onload()" src="http://cutesoft.net/newdesign/CuteWebUI_Uploader_Resource.axd?type=file&amp;file=continuous.gif" style="display:none;" /><div id="ctl00_ContentPlaceHolderUiMaster_uploadvideo__Progress" style="display:none;">
    <span id="ctl00_ContentPlaceHolderUiMaster_uploadvideo__ProgressText">Uploading...</span><input type="submit" name="ctl00$ContentPlaceHolderUiMaster$uploadvideo$_Cancel" value="Cancel" id="ctl00_ContentPlaceHolderUiMaster_uploadvideo__Cancel" />
    </div>
    <a id="ctl00_ContentPlaceHolderUiMaster_btn_addVideo" class="squarebutton" href="BLOCKED SCRIPT__doPostBack('ctl00$ContentPlaceHolderUiMaster$btn_addVideo','')"><span>Add New Video</span></a></td>
     
     
    Sometimes it shows properly.
     
    but after uploading any file it shows multiple buttons.
     
     
    Thanks 
    Yogesh Sapkale.
View Complete Thread