| namespace HeaderInfoViewer |
| { |
| public partial class _Default : System.Web.UI.Page |
| { |
| protected void btnSubmit_Click(object sender, EventArgs e) |
| { |
| SqlDataSource1.SelectCommand = "select Barcode,Description SamplePointName, UWI, updated_dt DateUpdated, well_license WellLicense, well_name WellName, Field, Pool, Formation, Matrix from ana_sample_points where UWI like '%" + rtxtUWI.Text + "%'"; |
| SqlDataSource2.SelectCommand = "select UWI, well_name Wellname, Fieldname, Poolname, well_license WellLicense from eub_well,eub_field, eub_pool_field " + |
| " where eub_well.fieldcode = eub_field.fieldcode" + |
| " and eub_well.poolcode = eub_pool_field.poolcode" + |
| " and uwi like '%" + rtxtUWI.Text + "%'"; |
| rgInternal.Rebind(); |
| rgEUB.Rebind(); |
| } |
| protected void rgInternal_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) |
| { |
| rgInternal.DataSource = SqlDataSource1; |
| } |
| protected void rgEUB_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) |
| { |
| rgEUB.DataSource = SqlDataSource2; |
| } |
| } |
| } |


<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> |