or

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true" PageSize="10" AllowSorting="true" ShowGroupPanel="true" AutoGenerateColumns="False" AllowMultiRowSelection="true" CellPadding="0" AllowMultiRowEdit="true" OnNeedDataSource="RadGrid1_NeedDataSource" OnUpdateCommand="RadGrid1_UpdateCommand" AllowAutomaticUpdates="true"> <MasterTableView DataKeyNames="Spot_IDX" GroupLoadMode="Client" EditMode="InPlace" CommandItemDisplay="Top" AllowAutomaticUpdates="true"> <CommandItemTemplate> <telerik:RadToolbar ID="RadToolBar1" OnButtonClick="RadToolBar1_ButtonClick" runat="server"> <Items> <telerik:RadToolBarButton Text="Edit" CommandName="EditAll" ImageUrl="~/App_Themes/Default/Images/Telerik/Edit.gif" Visible='<%# RadGrid1.EditIndexes.Count == 0 %>' runat="server"></telerik:RadToolBarButton> <telerik:RadToolBarButton Text="Update" CommandName="UpdateEdited" ImageUrl="~/App_Themes/Default/Images/Telerik/Update.gif" Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'></telerik:RadToolBarButton> <telerik:RadToolBarButton Text="Cancel Editing" CommandName="CancelAll" ImageUrl="~/App_Themes/Default/Images/Telerik/Cancel.gif" Visible='<%# RadGrid1.EditIndexes.Count > 0%>'></telerik:RadToolBarButton> <telerik:RadToolBarButton Text="Refresh Spot List" CommandName="RebindGrid" ImageUrl="~/App_Themes/Default/Images/Telerik/Refresh.gif"></telerik:RadToolBarButton> </Items> </telerik:RadToolbar> </CommandItemTemplate> <Columns> <telerik:GridClientSelectColumn UniqueName="TagCheckboxSelectColumn" HeaderText="Tag" HeaderStyle-Width="45"/> <telerik:GridBoundColumn UniqueName="House ID" SortExpression="HouseID" HeaderText="House ID" DataField="HouseID" HeaderStyle-Width="190" ColumnEditorID="1"> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings AllowDragToGroup="true" AllowGroupExpandCollapse="true" DataBinding-EnableCaching="true" AllowColumnsReorder="true" > <Selecting AllowRowSelect="true"/> <Scrolling UseStaticHeaders="True" AllowScroll="true"/> <Resizing AllowResizeToFit="true" AllowColumnResize="true"/> <ClientEvents OnRowDblClick="RowDblClick" /> </ClientSettings> </telerik:RadGrid>Public partial class Inbox : System.Web.UI.Page SpotDataAccess spotAccess = new SpotDataAccess(); protected void Page_Load(object sender, EventArgs e) { RadGrid1.DataSource = spotAccess.ReturnAllSpots(); RadGrid1.DataBind(); } protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e) { Hashtable newValues = new Hashtable(); ((GridEditableItem)e.Item).ExtractValues(newValues); GridEditableItem editedItem = e.Item as GridEditableItem; GridEditManager editMan = editedItem.EditManager; foreach (GridColumn column in e.Item.OwnerTableView.RenderColumns) { if (column is IGridEditableColumn) { IGridEditableColumn editableCol = (column as IGridEditableColumn); if (editableCol.IsEditable) { IGridColumnEditor editor = editMan.GetColumnEditor(editableCol); string editorType = editor.ToString(); string editorText = "unknown"; object editorValue = null; if (editor is GridTextColumnEditor) { editorText = (editor as GridTextColumnEditor).Text; editorValue = (editor as GridTextColumnEditor).Text; } } } } } protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e) { this.RadGrid1.DataSource = spotAccess.ReturnAllSpots(); }

<telerik:RadEditor ID="tbNote" runat="server" Width="502px" TextMode="MultiLine" Wrap="True" EditModes="Design" Height="250px" Style="border: 1px solid navy;"> <Tools> <telerik:EditorToolGroup Tag="BasicFunctions"> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" /> <telerik:EditorTool Name="Paste" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Bold" /> <telerik:EditorTool Name="Italic" /> <telerik:EditorTool Name="Underline" /> <telerik:EditorTool Name="StrikeThrough" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="FindAndReplace" /> <telerik:EditorTool Name="Print" /> <telerik:EditorTool Name="AjaxSpellCheck" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Undo" /> <telerik:EditorTool Name="Redo" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="InsertUnorderedList" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup Tag="FontTools"> <telerik:EditorTool Name="FontName" /> <telerik:EditorTool Name="FontSize" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="JustifyLeft" /> <telerik:EditorTool Name="JustifyCenter" /> <telerik:EditorTool Name="JustifyRight" /> <telerik:EditorTool Name="JustifyFull" /> </telerik:EditorToolGroup> </Tools> <Content> </Content> </telerik:RadEditor>
<PagerStyle Mode="slider" Wrap="true"></PagerStyle>
<
telerik:RadWindowManager runat="server" ID="RadWindowManager1"
VisibleStatusbar="false" Height="600px" Width="800px"
>
<Windows>
<telerik:RadWindow ID="TranslationView" runat="server" OnClientClose="OnClientClose"
NavigateUrl="TagLanguageVerticalView.aspx" runat="server" VisibleStatusbar="false"
Title="Translation View">
</telerik:RadWindow>
<telerik:RadWindow ID="History" Top="20" Left="100"
runat="server" NavigateUrl="History.aspx" VisibleStatusBar="false" Title="History">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>