multiple Buttons showing

Last post 07-03-2010, 2:19 AM by cutechat. 4 replies.
Sort Posts: Previous Next
  •  07-02-2010, 2:16 AM 62216

    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.
  •  07-02-2010, 2:21 AM 62217 in reply to 62216

    Re: multiple Buttons showing

    for previous post i have uploaded image "7-2-2010 12-13-36 PM.png" which is screenshot for the issue..
     
    but it is not displayed in post.
     
    kindly please check this image with the name "7-2-2010 12-13-36 PM.png"
  •  07-02-2010, 3:12 AM 62231 in reply to 62217

    Re: multiple Buttons showing

    hi yogeshsapkale,
     
    Is your site onlien? If so, please send me the test page url and show me the steps to reproduce this issue.
     
    Regards,
     
    ken
  •  07-02-2010, 3:13 AM 62232 in reply to 62217

    Re: multiple Buttons showing

    hi yogeshsapkale,
     
    Is your site onlien? If so, please send me the test page url and show me the steps to reproduce this issue.
     
    Regards,
     
    ken
  •  07-03-2010, 2:19 AM 62257 in reply to 62216

    Re: multiple Buttons showing

    Hi,
     
    Please download the last version and test again.
     
    The old version have a bug which the uploader initialize too ealry and ignore the content while the page is still loading.
     
    Or, you can try to move the link code to the front of the uploader code.
     
    Regards,
    Terry
     
View as RSS news feed in XML