Results 1 to 7 of 7

Thread: cannot align anadAsyncUpload

  1. #1

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    cannot align anadAsyncUpload

    Hi.

    I need to align a telerik adAsyncUpload control but whatever i do the control goes to the left.
    Code:
    <br /><br /><br /><br /><br />
        <asp:Panel ID="PanelReset" runat="server" Visible="true">
            <table style="margin:0 auto">
                <tr>
                    <td> <table style="padding: 1px; border-style:none; background-color:#E0E0E0; border-color:#FF9900;border-width: 2px;">
                            <tr>
                                <td>
                                    <table style="padding: 0px">
                                        <tr>
                                            <td colspan="2" style="text-align: center; color:White; background-color:#FF9933;font-weight:bold;height:20px;white-space:nowrap; vertical-align: middle;">VIS</td>
                                        </tr>
                                        <tr>
                                            <td colspan="0" >&nbsp;</td>
                                        </tr>
                                         <tr>
                                            <td > 
                                             <div style="display: inline inline-block; padding: 1px 2px 12px; vertical-align:middle;"  >
                                                
                  <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" MaxFileInputsCount="01" MaxFileSize="1145728" 
                  AllowedFileExtensions=".csv,.xls,.xlsx"  ></telerik:RadAsyncUpload>
    
             </div>
                                            
                                            </td>
                                           
                                        </tr>
                                        <tr>
                                            <td style="text-align: right;">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                       
                                        
                                        <tr>
                                            <td colspan="2" style="color:Red; text-align: center;">
                                                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                            </td>
                                        </tr>
                                     
                                        <tr>
                                            <td colspan="2" style="text-align: center;" class="auto-style1">
                                                <asp:Button ID="PassButton" runat="server" Text="Select File"  Width="120px" />
                                                &nbsp
                                                <asp:Button ID="ReturnButton" runat="server" Text="Upload File"  Width="120px" PostBackUrl="~/Login.aspx" />
                                            </td>
    
                                        </tr>
                                        <tr>
                                            <td colspan="2" >&nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                        </td>
                </tr>
            </table>
            
            </asp:Panel>
    Name:  Clipboard01.jpg
Views: 869
Size:  5.7 KB
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  2. #2

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: cannot align anadAsyncUpload

    Best I could do with the addition of another <td>
    Code:
      <table style="padding: 0px">
                                        <tr>
                                            <td colspan="2" style="text-align: center; color:White; background-color:#FF9933;font-weight:bold;height:20px;white-space:nowrap; vertical-align: middle;">VILLAGE Cinemas MIS </td>
                                        </tr>
                                        <tr>
                                            <td colspan="0" >&nbsp;</td>
                                        </tr>
                                         <tr>
                                             <td  style="padding: 1px 1px 1px;">
                                                 
                                             </td>
                                            <td > 
                                             
                                             <div style="display: inline inline-block; padding: 1px 2px 12px; vertical-align:middle;text-align: center; width: 270px;">
     <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" MaxFileInputsCount="01" MaxFileSize="1145728" 
    AllowedFileExtensions=".csv,.xls,.xlsx" Height="36px" ></telerik:RadAsyncUpload> </div> 
                                            
                                            </td>
                                           
                                        </tr>
                                        <tr>
                                            <td style="text-align: right;">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
    but seems wrong.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  3. #3
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: cannot align anadAsyncUpload

    FireBug should tell you where that element is inheriting it's position from. Have you dug into that?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #4

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: cannot align anadAsyncUpload

    Hi.
    Not yet.
    Doing something else now...
    Thanks.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  5. #5

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: cannot align anadAsyncUpload

    Ok.
    Looks ok to me.
    It is a normal flow that the upload control is inside the <td>
    Is there a method that I am missing so I will some the inheritance?
    If so where must I navigate exactly?
    Thanks.

    Name:  Clipboard01.jpg
Views: 154
Size:  17.8 KB

    Name:  Clipboard02.jpg
Views: 166
Size:  22.4 KB

    Name:  Clipboard03.jpg
Views: 146
Size:  27.6 KB
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: cannot align anadAsyncUpload

    Go to the COMPUTED tab - that was the RULES tab you showed.

    COMPUTED shows each attribute and when OPEN how that attribute landed at that setting.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7

    Thread Starter
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: cannot align anadAsyncUpload

    Well It shows all the element's but I'm not sure how I will debug something over there.
    Anyhow currently this is working (although it's a div insider a <td> so I'm guessing the div is ignored but the attributes not.)
    Code:
         <div style="display: inline inline-block; padding: 1px 102px 6px; vertical-align:middle;text-align: center !important; width: 270px;">
     <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" MaxFileInputsCount="01" MaxFileSize="3145728"  
    AllowedFileExtensions=".csv,.xls,.xlsx" Height="36px"></telerik:RadAsyncUpload> </div>
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width