An issue was reported to me about the RadEditor moving h4, and related tags, out of <summary> tags.
In looking for information online on if the tag combinations are allowed, I found this link: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
Here is the specific example:
<details open><summary><h4>Overview</h4></summary><ol><li>Cash on hand: $500.00</li><li>Current invoice: $75.30</li><li>Due date: 5/6/19</li></ol></details>
When I paste that example into the html editor of the RadEditor it moves the <h4> out of the summary tag and below it.
Is that correct behavior?
We have Telerik UI for ASP.NET Ajax version 2018.3.910.45.
I have a requirement to default a particular legend to disabled so that the associated data points are not shown. How can I do this?
I want to show Sort Icon on all the columns by default when the RADGrid/DetailTables columns loads for the first time. Currently, the Sort Icon appears only after user clicks on any column.
1. Is there any property on RADGrid that shows Sort Icon by default on RADGrid/DetailTables columns?
2. on the other hand I want have toold tip on first column of the RADGrid/DetailTables columns?
<telerik:RadGrid RenderMode="Lightweight" ID="rgView" ShowStatusBar="true" runat="server"
PageSize="12" AllowMultiRowSelection="False"
AutoGenerateColumns="False" AllowSorting="True" CssClass="grid-forecast"
OnDetailTableDataBind="rgView_DetailTableDataBind" OnNeedDataSource="rgView_NeedDataSource" >
<ClientSettings>
<Scrolling ScrollHeight=""></Scrolling>
</ClientSettings>
<PagerStyle Mode="NumericPages"></PagerStyle>
<MasterTableView HeaderStyle-CssClass="goalGridHeader" DataKeyNames="MonthNumber" AllowMultiColumnSorting="True" GroupsDefaultExpanded="false">
<DetailTables>
<telerik:GridTableView DataKeyNames="CenterID" Name="ForecastByCenter" Width="100%" HorizontalAlign="Left">
<Columns>
<telerik:GridBoundColumn SortExpression="CenterName" ShowSortIcon="true" AllowSorting="true" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Middle" UniqueName="CenterName" HeaderText="Center Name" HeaderButtonType="TextButton"
DataField="CenterName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="NewEO" HeaderText="New+EO" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1"
DataField="NewEO">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Absent" HeaderText="Absent" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1"
DataField="Absent">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="EC" HeaderText="Enrollment" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1 hd-top"
DataField="EC">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="CYNewEO" HeaderText="CY New+EO" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2"
DataField="CYNewEO">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="CYAbsent" HeaderText="CY Absent" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2 hd-top"
DataField="CYAbsent">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="CYEC" HeaderText="CY Enrollment" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type2 n3" HeaderStyle-CssClass="hd-type2"
DataField="CYEC">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="LYNewEO" HeaderText="LY New+EO" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 n1"
DataField="LYNewEO">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="LYAbsent" HeaderText="LY Absent" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 hd-top"
DataField="LYAbsent">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="LYEC" HeaderText="LY Enrollment" ShowSortIcon="true" HeaderButtonType="TextButton" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3"
DataField="LYEC">
</telerik:GridBoundColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
<Columns>
<telerik:GridBoundColumn DataField="MonthName" HeaderText="Month" ItemStyle-CssClass="col-hd" HeaderStyle-CssClass="hd-type0" />
<telerik:GridBoundColumn DataField="NewEO" HeaderText="New+EO" ItemStyle-BackColor="" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1"/>
<telerik:GridBoundColumn DataField="Absent" HeaderText="Forecast Absent" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1 hd-top"/>
<telerik:GridBoundColumn DataField="EC" HeaderText="Enrollment" ItemStyle-CssClass="col-type1" HeaderStyle-CssClass="hd-type1 n3"/>
<telerik:GridBoundColumn DataField="CYNewEO" HeaderText="New+EO" ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2" />
<telerik:GridBoundColumn DataField="CYAbsent" HeaderText="Actual Absent" ItemStyle-CssClass="col-type2" HeaderStyle-CssClass="hd-type2 hd-top" />
<telerik:GridBoundColumn DataField="CYEnrollment" HeaderText="Enrollment" ItemStyle-CssClass="col-type2 n3" HeaderStyle-CssClass="hd-type2" />
<telerik:GridBoundColumn DataField="LYNewAndEO" HeaderText="New+EO" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 n1"/>
<telerik:GridBoundColumn DataField="LYAbsent" HeaderText="LY% Absent" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3 hd-top" />
<telerik:GridBoundColumn DataField="LYEnrollment" HeaderText="Enrollment" ItemStyle-CssClass="col-type3" HeaderStyle-CssClass="hd-type3" />
<telerik:GridBoundColumn DataField="ForecastPerCent" HeaderText="% Forecast Completed" ItemStyle-CssClass="col-type4" HeaderStyle-CssClass="hd-type4" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
According to the page here : http://www.telerik.com/aspnet-ajax/tech-sheets/browser-support Edge is a supported browser but the RadComboBox controls are not being displayed correctly for me and my users. See attached.
What is the issue here?
I really like the popup window that is used in the RadFileExplorer control. The look and feel and all that.
I was wondering if it's possible to re-use this popup window with the RadGrid. For each row, I have a column for a specific file attachment. Ideally I would like to have a image button column that when clicked, will popup the upload window. Once the user does their thing and close the window, the Radgrid would refresh.
I would prefer not to create my own custom page for the async upload.
Is this possible?
I ran into an issue where I needed the Checkbox column of my radgrid to look like it was enabled (because it was hard to see the disabled checkboxes), but not act like it was enabled.
The reason I'm posting this here is because I couldn't find any easy solution on the internet or forum searches.
The first thing I did was not use a GridCheckboxColumn, I used a GridTemplateColumn with a checkbox template.
I then put onclick="return false;" in the checkbox attributes so that it doesn't do anything - effectively disabling the checkbox.
Here's the code in case it can help someone else:
<
telerik:GridTemplateColumn
DataField
=
"MyDataField"
DataType
=
"System.Boolean"
FilterControlAltText
=
"Filter MyDataField column"
HeaderText
=
"My Data Field"
SortExpression
=
"MyDataField"
UniqueName
=
"MyDataField"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
>
<
ItemTemplate
>
<
asp:CheckBox
ID
=
"MyDataField"
Checked='<%# Eval("MyDataField") %>' runat="server" onclick="return false;" />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Hi,
Yesterday I discovered in the web.config on one of our webs the following:
<add name="Telerik_Web_UI_DialogHandler_aspx" path="me.hochalla.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
normally this is:
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
What do you think this is?
Strangest thing is I removed the line yesterday but now it is in again.
Please respond soonest.
Marc
<
telerik:RadGrid
ID
=
"RadGridDocuments"
runat
=
"server"
Visible
=
"true"
Skin
=
"Simple"
EnableEmbeddedSkins
=
"false"
CssClass
=
"CustomGrid"
OnInsertCommand
=
"RadGridDocuments_InsertCommand"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
=
"DocumentId"
EditMode
=
"PopUp"
>
<
CommandItemTemplate
>
<
table
class
=
"rgCommandTable"
style
=
"width: 100%;"
cellpadding
=
"0"
cellspacing
=
"0"
border
=
"0"
id
=
"customGridHeader"
>
<
tr
>
<
td
align
=
"right"
class
=
"block-title"
>
<
asp:Button
runat
=
"server"
ID
=
"buttonAddNewRecord"
CommandName
=
"InitInsert"
CssClass
=
"rgAdd"
Text
=
" "
Visible
=
"true"
/>
<
asp:LinkButton
runat
=
"server"
ID
=
"linkbuttionInitInsert"
CommandName
=
"InitInsert"
CommandArgument
=
"TestPlan"
Text
=
"Upload Document"
Visible
=
"true"
></
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
CommandItemTemplate
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"DocumentName"
HeaderText
=
"Document Name"
DataField
=
"DocumentName"
ItemStyle-Width
=
"350px"
></
telerik:GridBoundColumn
>
<
telerik:GridButtonColumn
UniqueName
=
"DeleteColumn"
CommandName
=
"Delete"
Text
=
"Delete"
ConfirmDialogType
=
"Classic"
ConfirmText
=
"Are you sure you want to delete this document?"
ItemStyle-Width
=
"10px"
ItemStyle-CssClass
=
"rgAction"
></
telerik:GridButtonColumn
>
</
Columns
>
<
EditFormSettings
InsertCaption
=
"Upload Document"
EditFormType
=
"WebUserControl"
PopUpSettings-Modal
=
"true"
UserControlName
=
"~/UserControls/UploadDocument.ascx"
>
<
FormTemplate
>
</
FormTemplate
>
</
EditFormSettings
>
</
MasterTableView
>
<
ClientSettings
>
<
ClientEvents
OnPopUpShowing
=
"PopUpShowing"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
<
asp:FileUpload
runat
=
"server"
ID
=
"fileUploadDocument"
Width
=
"220px"
/>
<
asp:Button
ID
=
"buttonUpload"
Text
=
"Upload"
runat
=
"server"
CausesValidation
=
"true"
CommandName
=
"Upload"
Width
=
"80px"
onclick
=
"buttonUpload_Click"
></
asp:Button
>
<rad:GridTemplateColumn DataField="Attachment" FilterImageUrl="\\we03vdchc\RadControls\Skins\Vista\Filter.gif"
HeaderText="Attachment" SortAscImageUrl="\\we03vdchc\RadControls\Skins\Vista\SortAsc.gif"
SortDescImageUrl="\\we03vdchc\RadControls\Skins\Vista\SortDesc.gif" UniqueName="Attachment" ColumnEditorID="Attachment">
<EditItemTemplate>
<asp:FileUpload ID="detailFileAttachmentUL" runat="server" />
<asp:Label ID="attachNameLBL"
runat="server" Text='<%# Bind("Attachment") %>'>
</asp:Label><br />
<asp:LinkButton ID="attachLB"
runat="server"
CommandArgument='<%# Bind("MuniTransactionID") %>'
CommandName="AttachDetailDoc"
OnCommand="attachLB_Command"
Text="Attach Document"></asp:LinkButton>
</EditItemTemplate>
</rad:GridTemplateColumn>
</Columns>