-
Feb 22nd, 2017, 10:52 AM
#1
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" > </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;">
</td>
<td>
</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" />
 
<asp:Button ID="ReturnButton" runat="server" Text="Upload File" Width="120px" PostBackUrl="~/Login.aspx" />
</td>
</tr>
<tr>
<td colspan="2" > </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Feb 23rd, 2017, 03:12 AM
#2
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" > </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;">
</td>
<td>
</td>
</tr>
but seems wrong.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Feb 23rd, 2017, 05:52 AM
#3
Re: cannot align anadAsyncUpload
FireBug should tell you where that element is inheriting it's position from. Have you dug into that?
-
Feb 23rd, 2017, 07:05 AM
#4
Re: cannot align anadAsyncUpload
Hi.
Not yet.
Doing something else now...
Thanks.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Feb 23rd, 2017, 07:53 AM
#5
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.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Feb 23rd, 2017, 08:56 AM
#6
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.
-
Feb 24th, 2017, 03:56 AM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|