or
<telerik:RadEditor TabIndex="4" ID="radEditorDescription" OnClientLoad="OnClientLoad" EnableResize="false" runat="server" Width="640px" CssClass="marginBottom20 maarginleft10"> <Tools> <telerik:EditorToolGroup Tag="MainToolbar"> <telerik:EditorTool Name="AjaxSpellCheck" /> <telerik:EditorTool Name="Print" /> <telerik:EditorTool Name="StrikeThrough" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="Subscript" /> <telerik:EditorTool Name="Superscript" /> <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" /> <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z" /> <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y" /> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorTool Name="TableWizard" /> <telerik:EditorTool Name="InsertSymbol" /> <telerik:EditorTool Name="JustifyLeft" /> <telerik:EditorTool Name="JustifyRight" /> <telerik:EditorTool Name="JustifyFull"/> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="Bold" /> <telerik:EditorTool Name="Italic" /> <telerik:EditorTool Name="Underline" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="ForeColor" /> <telerik:EditorTool Name="BackColor" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="FontName" /> <telerik:EditorTool Name="RealFontSize" /> </telerik:EditorToolGroup> </Tools> <CssFiles> <telerik:EditorCssFile Value="~/App_Themes/Web20/Editor.css" /> </CssFiles> </telerik:RadEditor>

<telerik:GridTemplateColumn DataField="DateOper" HeaderText="DateOper" SortExpression="DateOper" UniqueName="DateOper" ColumnEditorID="0">
<ItemTemplate>
<asp:Label runat="server" ID="DateOper" Text='<%# Bind("DateOper","{0:d}") %>'></asp:Label>
</ItemTemplate><
<InsertItemTemplate>
<telerik:RadDatePicker runat="server" ID="DateOper" DbSelectedDate='<%# Bind("DateOper","{0:d}") %>'></telerik:RadDatePicker>protected void rgKsOper_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridEditFormInsertItem && e.Item.OwnerTableView.IsItemInserted)
{ GridEditFormInsertItem insertItem = (GridEditFormInsertItem)e.Item;
RadDatePicker dateOper = (RadDatePicker)insertItem.FindControl("DateOper");
date.SelectedDate = DateTime.Today;
}
}<telerik:RadButton ID="btnReport" runat="server" style="top: 0px; left: 0px" Text="Summary Report"></telerik:RadButton><telerik:RadEditor ID="radPDFReport" Runat="server" Height="114px" Width="685px" ExportSettings-FileName="ForeignCurrencyTotals" Visible="False"> <ExportSettings OpenInNewWindow="True"> <Pdf PageHeight="8.5in" PageWidth="11in" AllowAdd="True" AllowCopy="True" AllowModify="True" Title="Foreign Curency Totals" Author="Accounting" Creator="Accounting" PageBottomMargin="45px" PageFooterMargin="18px" PageHeaderMargin="18px" PageLeftMargin="18px" PageRightMargin="18px" PageTopMargin="37px" /> </ExportSettings> <Content>CONTENT</Content> <TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings></telerik:RadEditor><table style="width: 100%; height: 100%;" cellspacing="0" cellpadding="2"> <colgroup><col /><col /><col /><col /><col /><col /></colgroup> <tbody> <tr> <td colspan="3" style="border-left-style: solid; border-left-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"><strong>Foreign Currency Totals </strong></td> <td colspan="3" style="text-align: right; vertical-align: top; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;">As of 8/10/2012</td> </tr> <tr> <td rowspan="2" style="text-align: left; vertical-align: top; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 2px;"><strong>Country Code</strong></td> <td rowspan="2" style="text-align: left; vertical-align: top; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 2px;"><strong>Currency name</strong></td> <td colspan="3" style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"><strong>Details</strong></td> <td rowspan="2" style="text-align: left; vertical-align: top; border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 2px;"><strong>Comments</strong></td> </tr> <tr> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 2px;">Foreign Total</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 2px;">Exchange Rate</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 2px;">USD Total</td> </tr> <tr> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;">CAD</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;">Canada Dollar</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">1,140</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">1.00219480662</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">$1,142.50</td> <td style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"> </td> </tr> <tr> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;">CNY</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;">China Yuan</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">8,470</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">0.15720057221</td> <td style="border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">$1,331.49</td> <td style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"> </td> </tr> <tr> <td style="border-top-style: solid; border-top-width: 1px; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"><strong>Total</strong></td> <td style="border-top-style: solid; border-top-width: 1px; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"> </td> <td style="border-top-style: solid; border-top-width: 1px; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"> </td> <td style="border-top-style: solid; border-top-width: 1px; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"> </td> <td style="border-top-style: solid; border-top-width: 1px; border-left-style: solid; border-left-width: 1px; border-bottom-style: solid; border-bottom-width: 1px; text-align: right;">$3,998.96</td> <td style="border-top-style: solid; border-top-width: 1px; border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-bottom-style: solid; border-bottom-width: 1px;"> </td> </tr> </tbody></table>radPDFReport.Content = sHTMLBodyradPDFReport.ExportSettings.FileName = "ForeignCurrencyTotals_" & DateAndTime.Month(Now()) & "-" & DateAndTime.Day(Now()) & "-" & DateAndTime.Year(Now())radPDFReport.ExportToPdf()
function panelBarLoaded(sender, eventArgs) { var panelBar = $find("<%=PanelBar1.ClientID%>"); var panelItem = panelBar.findItemByText("Navigator"); var treeView = panelItem.findControl("tree"); var node = treeView.findNodeByAttribute("DSID",document.getElementById("scrollingNode").value); if (node != null) { window.setTimeout(function () { scrollToNode(treeView, node); }, 200); } } function scrollToNode(treeview, node) { var nodeElement = node.get_contentElement(); var treeViewElement = treeview.get_element(); var nodeOffsetTop = treeview._getTotalOffsetTop(nodeElement); var treeOffsetTop = treeview._getTotalOffsetTop(treeViewElement); var relativeOffsetTop = nodeOffsetTop - treeOffsetTop; treeViewElement.scrollTop = relativeOffsetTop; window.scrollTo(0, relativeOffsetTop); }<telerik:RadPanelBar runat="server" Width="100%" Height="100%" id="PanelBar1" OnClientItemClicked="OnClientItemClicked3" ExpandMode="FullExpandedItem" OnClientLoad="panelBarLoaded" Skin="Windows7" TabIndex="2"> <telerik:RadPanelItem Width="100%" Text="Navigator" Expanded="True" runat="server"> <items> <telerik:RadPanelItem Width="100%" Height="100%" runat="server" Value="TemplateHolder"> <ItemTemplate> <telerik:RadTreeView ID="tree" runat="server" onnodeexpand="tree_NodeExpand" Width="100%" Height="99%" EnableDragAndDrop="False" OnNodeDrop="tree_HandleDrop" OnClientContextMenuItemClicking="newJumpTo" OnClientContextMenuShowing="ClientContextMenuShowing" OnNodeCollapse="RadTreeView1_NodeCollapse" OnClientNodeDropping="onNodeDropping" OnClientNodeDragging="onNodeDragging" OnNodeClick="updateRecentDocuments" OnClientNodeClicked="ViewDoc" MultipleSelect="true" EnableDragAndDropBetweenNodes="true" EnableEmbeddedSkins="true" Skin="Windows7">