| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <script type="text/javascript"> |
| function responseEnd(sender, eventArgs) |
| { |
| alert(eventArgs.get_eventArgument()); |
| } |
| function firePostBack(arg) |
| { |
| $find('<%=ajaxManager.ClientID %>').ajaxRequestWithTarget('<%=ajaxManager.ClientID %>', arg); |
| $find('<%=ajaxManager.ClientID %>').ajaxRequestWithTarget('<%=div.ClientID %>', arg); |
| } |
| </script> |
| <form id="form1" runat="server"> |
| <asp:ScriptManager ID="ScriptManager1" runat="server" /> |
| <div> |
| <telerik:RadAjaxManager RequestQueueSize="2" ID="ajaxManager" runat="server" ClientEvents-OnResponseEnd="responseEnd"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="ajaxManager"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="div" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| </div> |
| <div id="div" runat="server"></div> |
| <a href="#" onclick="firePostBack('1');return false;">Fire</a> |
| </form> |
| </body> |
| </html> |
<!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" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.CustomCssClass
{
background-color: #c9ecff !important;
}
.raddock .rdSideBorders, .raddock .rdTopBorder, .raddock .rdBottomBorder
{
border: 0 !important;
}
.rdPlaceHolder
{
border: 0 !important;
background: transparent !important;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<script type="text/javascript">
function SetHandleDock(dock, args) {
dock.set_handle(document.getElementById("Handle_" + dock.get_id()));
}
</script>
<div>
<telerik:RadDock ID="RadDock1" runat="server" Width="89px" Height="124px" DockHandle="None"
DockMode="Floating" OnClientInitialize="SetHandleDock">
<ContentTemplate>
<img id="Handle_RadDock1" Width="89px" Height="124px" src="/Images/images.jpeg" />
</ContentTemplate>
</telerik:RadDock>
</div>
</form>
</body>
</html>
I have deployed the Rad Editor version 5.3.0 for MOSS into my MOSS enviroment. We have noticed that when trying to set tables to align to the right or center nothing happens. I looked at the html that is generated for the table and it is setting the style property to "text-align: right" which only affects the table contents, not the table itself. The table needs to be wrapped in a div tag with the "text-align: right".
We commonly use tables that are right justified to place announcements or other sidebar content in. Previous versions of the RadEditor deployed in MCMS has worked fine. I currently have in production for MCMS Q1 2007 and we do not have any issues.
Is there a way to get this fixed in the editor so we can continue to use our right aligned sidebar tables in MOSS?
--
Joe Q.
| <telerik:RadGrid ID="grdOrder" runat="server" DataSourceID="ObjectDataSource1" Skin="Web20" |
| AllowPaging="True" AllowSorting="false" ShowFooter="true" |
| GridLines="None" AutoGenerateColumns="False"> |
| <MasterTableView DataSourceID="ObjectDataSource1"> |
| <NoRecordsTemplate> |
| No orders to display |
| </NoRecordsTemplate> |
| <Columns> |
| <telerik:GridBoundColumn DataField="CustomerID" HeaderText="Customer"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="CustomerName" HeaderText=""> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="OrderID" HeaderText="Order No"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="TotalAmount" HeaderText="Total" |
| DataFormatString="{0:N}" Aggregate="Sum"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="CurrencyID" HeaderText="CY"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="DateCreated" HeaderText="Order Date" |
| DataFormatString="{0:d}"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="DatePaid" HeaderText="Date Paid" |
| DataFormatString="{0:d}"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="DateShipped" HeaderText="Date Shipped" |
| DataFormatString="{0:d}"> |
| </telerik:GridBoundColumn> |
| <telerik:GridHyperLinkColumn DataNavigateUrlFields="OrderID" |
| DataNavigateUrlFormatString="Order.aspx?orderID={0}" Text="Details..."> |
| </telerik:GridHyperLinkColumn> |
| </Columns> |
| </MasterTableView> |
| <PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" /> |
| </telerik:RadGrid> |
| <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" |
| SelectMethod="ShippedOrders" |
| TypeName="Cloud1.Reports.Orders"> |
| <SelectParameters> |
| <asp:Parameter Name="customerID" Type="Int32" DefaultValue="0" /> |
| <asp:ControlParameter ControlID="dtmFromDateCreated" Name="fromDateCreated" |
| PropertyName="SelectedDate" Type="String" /> |
| <asp:ControlParameter ControlID="dtmToDateCreated" Name="toDateCreated" |
| PropertyName="SelectedDate" Type="String" /> |
| <asp:ControlParameter ControlID="dtmFromDateShipped" Name="fromDateShipped" |
| PropertyName="SelectedDate" Type="String" /> |
| <asp:ControlParameter ControlID="dtmToDateShipped" Name="toDateShipped" |
| PropertyName="SelectedDate" Type="String" /> |
| </SelectParameters> |
| </asp:ObjectDataSource> |
dt.Load(rs)
RadGrid1.HeaderStyle.VerticalAlign = VerticalAlign.Middle
RadGrid1.HeaderStyle.HorizontalAlign = HorizontalAlign.Center
RadGrid1.Width = 868
RadGrid1.MasterTableView.Width = UnitType.Pixel
RadGrid1.MasterTableView.Width = 868
RadGrid1.MasterTableView.Height = UnitType.Percentage
RadGrid1.MasterTableView.Height = 100
RadGrid1.ClientSettings.Resizing.AllowColumnResize =
True
RadGrid1.ExportSettings.ExportOnlyData =
True
RadGrid1.ExportSettings.IgnorePaging =
True
RadGrid1.DataSource = dt
RadGrid1.AllowPaging =
True
RadGrid1.AutoGenerateColumns =
True
RadGrid1.AllowSorting =
True
RadGrid1.Height = 768
RadGrid1.ClientSettings.Resizing.ClipCellContentOnResize =
False
Dim
expression As GridGroupByExpression = New GridGroupByExpression
Dim gridGroupByField As GridGroupByField = New GridGroupByField
gridGroupByField =
New GridGroupByField
gridGroupByField.FieldName =
"section"
gridGroupByField.HeaderText =
"Total for Section "
expression.SelectFields.Add(gridGroupByField)
expression.GroupByFields.Add(gridGroupByField)
RadGrid1.MasterTableView.GroupByExpressions.Add(expression)
RadGrid1.MasterTableView.TableLayout = GridTableLayout.Fixed
RadGrid1.ClientSettings.Scrolling.AllowScroll =
True
RadGrid1.ClientSettings.Scrolling.UseStaticHeaders =
True
Dim item As GridItem
RadGrid1.Rebind()
For Each item In RadGrid1.MasterTableView.Controls(0).Controls
If TypeOf item Is GridGroupHeaderItem Then
item.Expanded =
False
End If
Next
for example
if i have a column section with
apple
apple
pear fruit
strawberry
peanut butter
peanut butter,
i only get apple and pear fruit back. why is this the problem? i know i get all of the databack because if i go to the next page, it will show up the strawberry and peanut butter. and so i put a break point in the line item.expand = false, i noticed that only a few items get into that loop not all. mostly the first two. can you help me ? Thank you for your help.