<ClientSettings EnablePostBackOnRowClick="True" >
<Selecting AllowRowSelect="True" />
</ClientSettings>
then while I do now get my event handler called on row selection if I click anywhere on the row EXCEPT the expand/collapse arrow, I can no longer get the detail table to expand at all. It seems very odd because basically clicking on the expand/collapse arrow now does nothing - neither postback a row selection changed event nor expand/collapse the detail table, yet clicking anywhere else on the row acts properly (event on server side).
Ed
Hi
I've editted the ToolsFile.xml file that we use to add the following section at the end of the file to limit the paragraph styles available in the editor:
......
<paragraphs>
<paragraph name="<h2>Heading 2</h2>" value="<h2" />
<paragraph name="<h3>Heading 3</h3>" value="<h3" />
<paragraph name="<h4>Heading 4</h4>" value="<h4>" />
</paragraphs>
</root>
In the editor we have some text that looks like this in html view
Hello <br />
<br />
This is our new site
When I highlight the 'Hello' line and select the Heading 2 style from the dropdown the style is not correctly applied. The html created is:
<h>Hello </h><br />
<br />
This is our new site
What is wrong with the paragraph tags that I've added to the ToolsFile.xml?
Thanks
Peter
| Dim recRuleConverter As New Telerik.Web.UI.RecurrenceRuleConverter |
| Dim recRuleParamString As String = e.Command.Parameters("@RecurrenceRule").Value |
| If recRuleParamString <> "" Then |
| Dim recRule As Telerik.Web.UI.RecurrenceRule = recRuleConverter.ConvertFromString(recRuleParamString) |
| Select Case recRule.Pattern.Frequency |
| Case Telerik.Web.UI.RecurrenceFrequency.Daily |
| With CType(recRule, Telerik.Web.UI.DailyRecurrenceRule) |
| .DaysOfWeekMask = Telerik.Web.UI.RecurrenceDay.WeekDays |
| With e.Command |
| .Parameters("@RecurrenceRule").Value = recRule.ToString |
| End With |
| End With |
| End Select |
| End If |
| rad:RadMenu ID="RadMenu1" runat="server" Skin="Web20" OnClientItemOpen="OnClientItemOpenHandler" |
| Width="100%" OnClientLoad="removeDelay" CausesValidation="false" EnableScreenBoundaryDetection="false"> |
| <Items> |
| <rad:RadMenuItem ID="RadMenuItem4" runat="server" Text="OPTIONS" Style="text-align: left;"> |
| <Items> |
| <rad:RadMenuItem ID="RadMenuItem5" runat="server" Text="Export"> |
| <Items> |
| <rad:RadMenuItem ID="RadMenuItem6" runat="server" Value="MenuItemExportOptions" CssClass="StyleToSetMaxWidth"> |
| <ItemTemplate> |
| <div id="ExportData" class="margin"> |
| Please note exports will include managers<br /> |
| (where appropriate) |
| <asp:RadioButtonList ID="ExportExcelOptionsMenu" runat="server"> |
| <asp:ListItem Text="As one file" Value="0" Selected="True"> |
| </asp:ListItem> |
| <asp:ListItem Text="As individual files" Value="1"> |
| </asp:ListItem> |
| </asp:RadioButtonList> |
| <div style="text-align: right"> |
| <asp:LinkButton ID="MenuExportButton" runat="server" CssClass="GoButton" Text="Go" |
| OnClick="ExportButton_Click" OnClientClick=" return CheckSelectedRows()" /></div> |
| </div> |
| </ItemTemplate> |
| </rad:RadMenuItem> |
| </Items> |
| </rad:RadMenuItem> |
| </Item> |
| </rad:RadMenu> |
| <style type="text/css"> |
| .StyleToSetMaxWidth |
| { |
| width: 250px !important; |
| max-width: 250px !important; |
| } |
| </style> |
| <%@ Page Language="C#" MasterPageFile="~/MainFrame.Master" AutoEventWireup="true" |
| Codebehind="RetrieveDeal.aspx.cs" Inherits="SDPS.SearchPage" Title="Search Results" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> |
| <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="SearchButton"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="LoadedPanel" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="SearchResults"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="LoadedPanel" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManagerProxy> |
| <telerik:RadGrid ID="SearchResults" runat="server" AllowPaging="True" AllowSorting="True" |
| AlternatingItemStyle-CssClass="ReadOnlyAlt" AutoGenerateColumns="False" GridLines="None" |
| ItemStyle-CssClass="ReadOnly" OnNeedDataSource="SearchResults_NeedDataSource" |
| SkinID="RadGrid" Height="330px" Width="99%"> |
| <PagerStyle Mode="NextPrevAndNumeric" NextPageText=">" PrevPageText="<" /> |
| <SelectedItemStyle BackColor="Blue" /> |
| <MasterTableView> |
| <Columns> |
| <telerik:GridTemplateColumn DataField="IsTest" UniqueName="Mode" HeaderStyle-Width="20px"> |
| <ItemTemplate> |
| <nobr><img src="/App_Themes/Default/Images/<%# (bool)Eval("IsTest") ? "Test" : "NotTest" %>.gif" alt="<%# (bool)Eval("IsTest") ? "Mode: Test" : "Mode: Not Test" %>" title="<%# (bool)Eval("IsTest") ? "Mode: Test" : "Mode: Not Test" %>" /></nobr> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <%-- Thirteen fairly wide Gridbound columns go here, plus one GridDropdown. |
| These stretch well beyond the width of the window, but horizontal |
| scrollbars do appear, so the number of columns doesn't appear to be |
| the problem. --%> |
| </Columns> |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn Resizable="False" Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <EditFormSettings> |
| <PopUpSettings ScrollBars="None" /> |
| </EditFormSettings> |
| </MasterTableView> |
| <ClientSettings> |
| <Selecting AllowRowSelect="True" /> |
| <Scrolling AllowScroll="True" ScrollHeight="330px" /> |
| </ClientSettings> |
| <ItemStyle CssClass="ReadOnly" /> |
| <AlternatingItemStyle CssClass="ReadOnlyAlt" /> |
| <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" |
| Font-Underline="False" Wrap="False" /> |
| </telerik:RadGrid> |
| <p> |
| <asp:ImageButton ID="SearchButton" runat="server" AlternateText="Search" |
| BackColor="transparent" ImageUrl="~/App_Theme/Default/Images/Search.gif" OnClick="SearchButton_Click" /> |
| </p> |
| </asp:Content> |
| <%@ Master Language="C#" AutoEventWireup="true" Codebehind="MainFrame.master.cs" |
| Inherits="SDPS.MainFrame" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!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> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| <Scripts> |
| <asp:ScriptReference Path="~/scripts/scripts.js" /> |
| <asp:ScriptReference Path="~/scripts/jslog.js" /> |
| </Scripts> |
| </telerik:RadScriptManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="LoadingPanel" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackColor="#FFFFFF" |
| Height="500px" Transparency="25" Width="100%"> |
| <p> |
| <br /> |
| <br /> |
| <asp:Image ID="LoadingImage" runat="server" SkinID="loading" /></p> |
| </telerik:RadAjaxLoadingPanel> |
| <asp:Panel ID="LoadingPanel" runat="server" Height="500px" Width="100%"> |
| <asp:Panel ID="LoadedPanel" runat="server" Visible="false"> |
| <telerik:RadSplitter ID="RadSplitter1" runat="server" EnableEmbeddedSkins="false" |
| Height="100%" OnClientLoaded="fnSizeSplitter" Skin="Default" Width="100%" LiveResize="false"> |
| <telerik:RadPane ID="RadPane1" runat="server" Width="21px" CssClass="DarkBG"> |
| <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" Width="21px" CssClass="DarkBG"> |
| <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Navigation" Width="345px" |
| CssClass="DarkBG" EnableDock="false" EnableResize="false" PersistScrollPosition="true"> |
| Large RadPanelBar goes here, roughly 320px wide and 500px tall. |
| </telerik:RadSlidingPane> |
| </telerik:RadSlidingZone> |
| </telerik:RadPane> |
| <telerik:RadPane ID="ContentPane" runat="server" CssClass="MainContent LightBG" Height="100%"> |
| <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> |
| </asp:ContentPlaceHolder> |
| </telerik:RadPane> |
| <telerik:RadPane ID="RadPane3" runat="server" Width="21px" CssClass="DarkBG"> |
| <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server"> |
| </asp:ContentPlaceHolder> |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
| </asp:Panel> |
| </asp:Panel> |
| <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> |
| <script language="javascript" type="text/javascript"> |
| <!-- |
| var strAjaxManager="<%=RadAjaxManager.GetCurrent(Page).ClientID %>"; |
| var strMainSplitter="<%=RadSplitter1.ClientID %>"; |
| var strContentPane="<%=ContentPane.ClientID %>"; |
| //Determines current width of the window and the height of the content |
| // document. |
| fnAddWindowEvent(fnSetDocSize); |
| //Adds a resize event that, if the window's width or the document's height |
| // change, reloads the page, which auto-sizes the splitter according to the |
| // window's width and the content document's height. |
| fnAddWindowEvent(fnResizeDoc, "resize"); |
| //Makes the LoadedPanel visible after a 100ms delay. |
| fnAddWindowEvent(fnLoadScreen); |
| //--> |
| </script> |
| </telerik:RadScriptBlock> |
| </form> |
| </body> |
| </html> |