or
| <telerik:RadGrid ID="rgRates" runat="server" AutoGenerateColumns="false" Visible="true"> |
| <MasterTableView DataKeyNames="RecordID" EditMode="InPlace" CommandItemDisplay="Top"> |
| <CommandItemSettings AddNewRecordText="" AddNewRecordImageUrl="../../App_Themes/Default/images/Add.gif" RefreshText="Refresh" /> |
| <Columns> |
| <telerik:GridBoundColumn DataField="RecordID" Visible="false" /> |
| <telerik:GridEditCommandColumn ButtonType="LinkButton" CancelText="Cancel" EditText="Edit" UpdateText="Save" /> |
| <telerik:GridDateTimeColumn DataField="DateStart" HeaderText="Start" DataFormatString="{0:d}" ColumnEditorID="rgRatesDateEditor" /> |
| <telerik:GridDateTimeColumn DataField="DateEnd" HeaderText="End" DataFormatString="{0:d}" ColumnEditorID="rgRatesDateEditor" /> |
| <telerik:GridNumericColumn DataField="Commission" HeaderText="Commission" HeaderStyle-HorizontalAlign="Right" DataFormatString="${0:N4}" ItemStyle-HorizontalAlign="Right" ColumnEditorID="rgRatesCommission" /> |
| <telerik:GridNumericColumn DataField="Revenue" HeaderText="Revenue" HeaderStyle-HorizontalAlign="Right" DataFormatString="${0:N4}" ItemStyle-HorizontalAlign="Right" ReadOnly="true" /> |
| <telerik:GridButtonColumn ButtonType="LinkButton" Text="Delete" CommandName="Delete" ConfirmDialogType="Classic" ConfirmTitle="Confirm Delete" ConfirmText="Are you sure you want to delete the specified record?" /> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| <telerik:GridDateTimeColumnEditor ID="rgRatesDateEditor" runat="server" TextBoxStyle-Width="90" /> |
| <telerik:GridNumericColumnEditor ID="rgRatesCommission" runat="server" NumericTextBox-Width="50" NumericTextBox-Type="Number" NumericTextBox-SelectionOnFocus="None" NumericTextBox-Label="$" NumericTextBox-IncrementSettings-InterceptArrowKeys="false" /> |
We are planning to use RadEditor for creating our well formatted documents.
We want to create Text at certain positions in the editor.
These positions need to be defined in RadEditor by Creating Tab or Indent positions.
Example -
This text is indented
and starts at certain tabbed positions!
Please let me know how I can do this in RadEditor.
thanks
Shweta
| <telerik:RadTabStrip ID="RadTabStrip1" runat="server" |
| SelectedIndex="0" MultiPageID="TabContainer1" Width="800px" > |
| <Tabs> |
| <telerik:RadTab runat="server" Text="tab1" PageViewID="tbpnl1" Selected="True" > |
| </telerik:RadTab> |
| <telerik:RadTab runat="server" Text="tab2" PageViewID="tbpnl2" > |
| </telerik:RadTab> |
| <telerik:RadTab runat="server" Text="tab3" PageViewID="tbpnl3" > |
| </telerik:RadTab> |
| |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage ID="TabContainer1" runat="server" SelectedIndex="0" |
| Width="800px" Height="180px" > |
| <telerik:RadPageView ID="tbpnl1" runat="server" Width="800px" Height="180px" > |
| <telerik:RadGrid ID="radgrid1" runat="server" Width="800px" Height="180px" |
<telerik:RadListBox runat="server" ID="RadActorListBoxSource" Height="400px" Width="300px" AllowTransfer="true" AllowTransferOnDoubleClick="true" ButtonSettings-ShowTransferAll="false" EnableDragAndDrop="true" TransferToID="RadActorListBoxDestination" SelectionMode="Multiple" DataSourceID="LinqDataSource4" CausesValidation="false" TransferMode="Move" DataValueField="ActorId"> <ItemTemplate> <div> <telerik:RadBinaryImage runat="server" ID="ActorImage" Width="50px" DataValue='<%# ((Binary) Eval("ActorImage")).ToArray() %>' AutoAdjustImageControlSize="False" /> <%# Eval("Name") %> </div> </ItemTemplate> </telerik:RadListBox> <telerik:RadListBox runat="server" ID="RadActorListBoxDestination" Height="400px" Width="300px" EnableDragAndDrop="true" TransferMode="Move" SelectionMode="Multiple" EmptyMessage="Please select at least one actor" CausesValidation="true" ValidationGroup="addSceneSubmit"> <ItemTemplate> <div> <telerik:RadBinaryImage runat="server" ID="ActorImage" Width="50px" DataValue='<%# ((Binary) Eval("ActorImage")).ToArray() %>' AutoAdjustImageControlSize="False" /> <%# Eval("Name") %> </div> </ItemTemplate> </telerik:RadListBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="RadActorListBoxDestination" ErrorMessage="Please select at least one actor" ValidationGroup="addSceneSubmit"> </asp:RequiredFieldValidator><asp:LinqDataSource ID="LinqDataSource4" runat="server" ContextTypeName="DataClassesDataContext" OrderBy="Name" Select="new (ActorId, Name, ActorImage)" TableName="Actors"> </asp:LinqDataSource><telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadElementAttachments" MultipleFileSelection="Automatic"<BR> MaxFileInputsCount="5" MaxFileSize="31457280" InputSize="50" Width="100%" OnFileUploaded="RadAsyncUploadElementAttachments_FileUploaded"<BR> OnClientFilesUploaded="onClientFilesUploaded" OnClientFileUploading="onClientFileUploading" TemporaryFolder="" ></telerik:RadAsyncUpload><script type="text/javascript"> function onClientFileUploading() { getRadProgressManager().startProgressPolling(); } function onClientFilesUploaded() { //getRadProgressManager().hideProgressAreas(); } Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; } </script><telerik:RadProgressManager ID="Radprogressmanager1" runat="server" RegisterForSubmit="false" /> <telerik:RadProgressArea ID="progressArea1" runat="server" Culture="(Default)" Height="200px" Skin="Default" Width="400px" style="position: absolute !important; top: 300px !important; left: 280px !important; z-index:10100 !important;" />function TimeSlotContextMenu(sender, eventArgs) { var RadScheduler = $find("<%= RadScheduler.ClientID %>"); // RadScheduler.get_selectedSlots().length = 1 eventArgs.get_targetSlot().set_selected(true); // RadScheduler.get_selectedSlots().length still = 1}Protected Sub rgRiskAssessmentItems_ItemInserted(ByVal source As Object, ByVal e As Telerik.Web.UI.GridInsertedEventArgs) Handles rgRiskAssessmentItems.ItemInserted If Not e.Exception Is Nothing Then e.ExceptionHandled = True e.KeepInInsertMode = True SetMessage("Risk Assessment Item cannot be inserted. Reason: " + e.Exception.Message) Else SetMessage("New Risk Assessment Item has been added!") 'Make sure we get a submit button in the top grid after adding an item to the lower grid rgRiskAssessment.Rebind() 'rgRiskAssessmentItems.Rebind() End If End Sub