<
rad:RadGrid ID="grd" runat="server" AutoGenerateColumns="false" AllowSorting="true" Skin="None"
CssClass="" GridLines="Horizontal" OnNeedDataSource="NeedDataSource" OnItemCommand="ItemCommand"
OnUpdateCommand="UpdateCommand" OnDeleteCommand="DeleteCommand" OnInsertCommand="InsertCommand"
EnableAJAX="true">
<MasterTableView DataKeyNames="ID" CommandItemDisplay="Bottom" >
<HeaderStyle CssClass="" />
<AlternatingItemStyle CssClass="" />
<Columns>
<rad:GridTemplateColumn UniqueName="ID" SortExpression="ID" >
<ItemStyle CssClass="" />
<ItemTemplate>
<%
# %>
</ItemTemplate>
</rad:GridTemplateColumn>
<rad:GridTemplateColumn UniqueName="" HeaderText="" SortExpression="">
<ItemStyle CssClass="" />
<ItemTemplate>
<%
# %>
</ItemTemplate>
</rad:GridTemplateColumn>
<rad:GridTemplateColumn UniqueName=n" >
<ItemStyle CssClass="" />
<ItemTemplate>
<%
# %>
</ItemTemplate>
</rad:GridTemplateColumn>
<rad:GridTemplateColumn UniqueName="" SortExpression="">
<ItemStyle CssClass="" />
<ItemTemplate>
<%
# Eval("")%>
</ItemTemplate>
</rad:GridTemplateColumn>
<rad:GridTemplateColumn UniqueName="">
<ItemStyle CssClass=""/>
<ItemTemplate>
<asp:ImageButton runat="server" ID="btnEdit" CommandName="Edit"/>
<asp:ImageButton runat="server" ID="btnDelete" CommandName="Delete"
OnClientClick="" CommandArgument='<%# Eval("")%>'/>
</ItemTemplate>
</rad:GridTemplateColumn>
</Columns>
<EditFormSettings EditFormType="Template">
<FormTemplate>
<div class="">
<asp:Label runat="server" ID="lblAddEditTitle" ></asp:Label>
</div>
<div class="editRow">
<div class="editTitleColumn">
</div>
<div class="editColumn">
<asp:DropDownList runat="server" ID=""></asp:DropDownList>
</div>
<div class="editTitleColumn">
</div>
<div class="editColumn">
<asp:TextBox runat="server" ID="" CssClass="" Text=''></asp:TextBox>
</div>
</div>
<div class="editRow">
<div class="editTitleColumn">
</div>
<div class="editColumn">
<asp:DropDownList runat="server" ID=""></asp:DropDownList>
</div>
<div class="editTitleColumn">
</div>
<div class="editColumn">
<asp:TextBox runat="server" ID="" TextMode="MultiLine" Rows="3" CssClass=""></asp:TextBox>
</div>
</div>
<div class="row">
<div class="column">
<asp:ImageButton runat="server" ID="btnUpdate"
CommandName='' />
</div>
<div class="column">
<asp:ImageButton runat="server" ID="btnCancel" CommandName="Cancel" />
</div>
</div>
</FormTemplate>
</EditFormSettings>
<CommandItemTemplate>
<div class="commandItem">
<asp:LinkButton runat="server" ID="btnAddEntry" Text="Add New Entry" CommandName="InitInsert"></asp:LinkButton>
</div>
</CommandItemTemplate>
</MasterTableView>
</rad:RadGrid>
Thank you,
Hi
In my application we are using v2 telerik dll and following is the code used:
<rad:RadEditor ID="notificationDescriptionTextBox" runat="server" Width="89%" Height="150px" ToolsFile="~/library/RADControls/BasicTools.xml" RadControlsDir="~/RadControls/" ShowSubmitCancelButtons="false" StripFormattingOnPaste="Font,Span,MSWordRemoveAll,Css"></rad:RadEditor>
If I have some existing text in the RadEditor with some styles applied on it and thereafter if I copy any text from an alternate application i.e. word/onenote/etc., the copied text inherits the existing styles.My requirement is that the copied text should not inherit the existing text's styles and it should retain the bold.Please suggest me a solution to accomplish the requirement.

<telerik:RadListBox runat="server" ID="RadListBox"> <ItemTemplate> <table> <tr> <td> <asp:CheckBox ID="CheckBox1" runat="server" onclick="stopPropagation(event, this);" /> </td> <td> <asp:RadioButton ID="RadioButton1" runat="server" GroupName="Type" onclick="SetUniqueRadioButton();" /> </td> <td> <%# DataBinder.Eval(Container.DataItem,"FullName") %> </td> </tr> </table> </ItemTemplate> </telerik:RadListBox>Hi all,
I have a radscheduler with an inline template with a disabled textbox:
<telerik:RadScheduler ID="RadScheduler1" runat="server" DataSourceID="ObjectDataSource1"
DataEndField="EndDateTime" DataKeyField="Id" DataStartField="StartDateTime" DataSubjectField="Subject"
OverflowBehavior="Expand" StartEditingInAdvancedForm="False">
<InlineEditTemplate>
<div class="rsAdvancedEdit">
<div class="rsAdvContentWrapper">
<telerik:RadTextBox ID="SubjectTextBox" runat="server" Text='<%# Bind("Subject") %>'
Enabled="False" />
</div>
</div>
</InlineEditTemplate>
</telerik:RadScheduler>
If I click on the disabled textbox I get an error: "Microsoft JScript runtime error: 'undefined' is null or not an object"
in line
var b=h.split(" ");
Is this a bug or am I missing something...
regards,
Johan
<body onload="SetFocusOnTextBox();"> <form id="form1" runat="server"> <asp:ScriptManager id="ScriptManager" runat="server"/> <telerik:radeditor runat="server" ID="RadEditor1"> <Content> Here is sample content! </Content> </telerik:radeditor> <input type="text" id="text"/> <input type="button" value="Set Focus On RadEditor" onclick="SetFocusOnRadEditor()" /> <script type="text/javascript"> function SetFocusOnRadEditor() { var editor = $find("<%=RadEditor1.ClientID%>"); //get a reference to RadEditor client object editor.setFocus(); //set the focus on the the editor } function SetFocusOnTextBox() { var editor = $get("text"); //get a reference to the input textbox with id text editor.focus(); //set the focus on the the textbox } </script> </form></body>