This is a migrated thread and some comments may be shown as answers.

Remove buton cut after uploading

3 Answers 34 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
amit
Top achievements
Rank 1
amit asked on 06 Jan 2012, 09:22 PM
After uploading any file remove button gets cut the edges shown,Its looks weird in GUI.

Thanks,
Amit 

3 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 06 Jan 2012, 10:02 PM
Amit:

I cannot seem to reproduce your reported behavior using the online AsyncUpload / Multiple File Selection demo at http://demos.telerik.com/aspnet-ajax/upload/examples/async/multiplefileselection/defaultcs.aspx?product=asyncupload. Does it happen to you with this demo?

Please post an image of the reported behavior and your code, if possible.

Regards,
0
amit
Top achievements
Rank 1
answered on 12 Jan 2012, 04:15 PM

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Compose.aspx.cs" Inherits="XXXX.XXX.XXX.Common.Compose" %>

 

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<!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" xml:lang="en">

<head id="Head1" runat="server">

    <title>Compose</title>

    <link rel="stylesheet" href="Styles/compose.css" type="text/css" />

    <link href="../../App_Themes/Default/HPSDefault.css" rel="stylesheet" type="text/css" />

    <link href="../../App_Themes/Default/Mailbox.css" rel="stylesheet" type="text/css" />

</head>

<body class="composeWindow">

    <form id="form1" runat="server">

 

    <telerik:RadScriptManager ID="ScriptManager" runat="server" />     

    <table>

    <tr>

    <td align="right"  >

    To:

    </td>

    <td>

    <telerik:RadComboBox ID="RadCmbTo" Runat="server" EnableLinqExpressions="False" >       

    </telerik:RadComboBox>   

    </td>   

    </tr>

 

   

 

 

    <tr align="right"  >

    <td>

    Subject:

    </td>

    <td>

    <telerik:RadTextBox ID="txtSubject" Runat="server" MaxLength="200"

        Width="675px">

    </telerik:RadTextBox>

    </td>

    </tr>

    </table>  

   

   

    <telerik:RadSkinManager runat="Server" ID="SkinManager1" Skin="Vista" PersistenceKey="Skin"

        PersistenceMode="Session">

    </telerik:RadSkinManager>

     <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />

 

   

                         <table>

                         <tr>

                         <td>Attachment:</td>

                         <td>&nbsp;

                             <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" skin="Outlook"

                        

                         OnClientFileUploadFailed="onUploadFailed"

                         OnClientFileSelected="onFileSelected"

                         OnClientFileUploaded="onFileUploaded"

                         onfileuploaded="AsyncUpload1_FileUploaded"

 

                        TemporaryFolder="../RadUploadTemp/RadUploadTestFile/"

                        AllowedFileExtensions="jpg,jpeg,gif,doc,pdf,txt"

                        MaxFileInputsCount="3"

                        MaxFileSize="12582912"  Width="659px" Height="62px"

                        >

                       

 

                    </telerik:RadAsyncUpload>

                             <br />

                             </td>

                         </tr>

                         </table>

 

                  

              

      <telerik:RadEditor ID="MailBodyEditor" runat="server" Width="735px" Height="258px"

                    EnableResize="false" EditModes="Design" Skin="Office2007" EnableViewState="false">

                   

                    <Tools>

                        <telerik:EditorToolGroup Tag="MainToolbar">

                            <telerik:EditorTool Name="AjaxSpellCheck" />

                            <telerik:EditorSeparator Visible="true" />

                            <telerik:EditorTool Name="Undo" />

                            <telerik:EditorTool Name="Redo" />

                            <telerik:EditorSeparator Visible="true" />

                            <telerik:EditorTool Name="Cut" />

                            <telerik:EditorTool Name="Copy" />

                            <telerik:EditorTool Name="Paste" ShortCut="CTRL+!" />

                        </telerik:EditorToolGroup>

                        <telerik:EditorToolGroup Tag="Formatting">

                            <telerik:EditorTool Name="Bold" />

                            <telerik:EditorTool Name="Italic" />

                            <telerik:EditorTool Name="Underline" />

                            <telerik:EditorSeparator Visible="true" />

                            <telerik:EditorTool Name="ForeColor" />

                            <telerik:EditorTool Name="BackColor" />

                            <telerik:EditorSeparator Visible="true" />

                            <telerik:EditorTool Name="FontName" />

                            <telerik:EditorTool Name="RealFontSize" />

                        </telerik:EditorToolGroup>

                    </Tools>

                </telerik:RadEditor>

    <div id="composeActions">

        <asp:Button ID="btnSend" runat="server" Style="width: 75px" Text="Send" onclick="btnSend_Click"

             /><asp:Button

            ID="Button2" runat="server" Style="width: 75px" Text="Cancel" OnClientClick="return cancel()" />

    </div>

   

    <script type="text/javascript">

 

        function setEditorContent(content) {

            window.setTimeout(function () {

 

                var editor = $find("<%= MailBodyEditor.ClientID%>");

                editor.set_html(content);

            }, 0);

        }

 

        function save() {

            var radWindow = window.radWindow ? window.radWindow : window.frameElement.radWindow;

            var editor = $find("<%= MailBodyEditor.ClientID%>");

            radWindow.close(editor.get_html());

 

            return false;

        }

 

        function cancel() {

            var radWindow = window.radWindow ? window.radWindow : window.frameElement.radWindow;

            radWindow.close();

 

            return false;

        }

 

 

 

        function OnClientSelectedIndexChangedEventHandler(sender, args) {

 

          

            window.radopen(null, "GrpFind");

 

          

        }

 

        function onSelectedIndexChanged(sender, eventArgs) {

            var selectedItem = eventArgs.get_item();

            var selectedItemText = selectedItem != null ? selectedItem.get_text() : sender.get_text();

 

            logEvent("Changed to Item '" + selectedItemText + "'");

        }

 

        var $ = $telerik.$;

 

        var uploadsInProgress = 0;

 

 

 

        function onFileSelected(sender, args) {

 

            if (!uploadsInProgress)

 

                $("#Upload").attr("disabled", "disabled");

                            uploadsInProgress++;

 

        }

 

        function onFileUploaded(sender, args) {

 

            decrementUploadsInProgress();

 

        }

 

        function onUploadFailed(sender, args) {

 

            decrementUploadsInProgress();

 

        }

 

        function decrementUploadsInProgress() {

 

            uploadsInProgress--;

 

            if (!uploadsInProgress)

 

                $("#Upload").removeAttr("disabled");

 

        }

 

    </script>

    <telerik:RadWindowManager runat="Server" ID="RadWindowManager1" EnableViewState="false">

        <Windows>

            <telerik:RadWindow runat="server" ID="GrpFind" NavigateUrl="SearchUser.aspx" EnableLinqExpressions="False"

                Width="870px" Height="550px" ReloadOnShow="true"

                ShowContentDuringLoad="false" Modal="True" Behaviors="Close,Move" VisibleStatusbar="false">

            </telerik:RadWindow>

        </Windows>

    </telerik:RadWindowManager>

 

   

    </form>

</body>

</html>

 

 

0
Plamen
Telerik team
answered on 17 Jan 2012, 04:01 PM
Hi Amit,

 
Unfortunately the code you posted was not enough to observe the unusual behavior since the css style were not included. A live URL of the issue can be helpful as well.

Please find attached my test project. You can review it and let me know what should I add in order to observe the issue. 

Regards,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
AsyncUpload
Asked by
amit
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
amit
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or