I think I've found a bug in the Grid when in batch edit mode. I have created a following grid;
<telerik:RadGrid ID="grdFees" runat="server" AutoGenerateColumns="False" GridLines="None"
AllowSorting="False" Height="310px"
OnNeedDataSource="grdFees_NeedDataSource"
OnPreRender="grdFees_PreRender"
OnItemDataBound="grdFees_ItemDataBound">
<MasterTableView CellPadding="4" CommandItemDisplay="Top" EditMode="Batch" DataKeyNames="FeeTypeId, CurrencyCode, ShowCurrencyCode, Paid" ClientDataKeyNames="Paid,ShowCurrencyCode">
<CommandItemSettings ShowExportToWordButton="false" ShowExportToExcelButton="false"
ShowExportToCsvButton="false" ShowExportToPdfButton="false" ShowRefreshButton="false"
ShowAddNewRecordButton="false" />
<BatchEditingSettings EditType="Row" HighlightDeletedRows="true" OpenEditingEvent="Click" />
<Columns>
<telerik:GridBoundColumn UniqueName="Name" DataField="Name" HeaderStyle-Width="100px" ReadOnly="True" />
<telerik:GridNumericColumn UniqueName="Amount" DataField="Amount" HeaderStyle-Width="70px" HeaderText="Amount" DecimalDigits="3" />
<telerik:GridTemplateColumn UniqueName="CurrencyCode" DataField="CurrencyCode" HeaderText="Currency Code" DefaultInsertValue="GBP" HeaderStyle-Width="60px">
<ItemTemplate>
<%# Eval("CurrencyCode") %>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="CurrencyCodeDropDown" DataValueField="CurrencyCode"
DataTextField="CurrencyCode" MarkFirstMatch="true" AllowCustomText="true" >
</telerik:RadComboBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridCheckBoxColumn UniqueName="Paid" DataField="Paid" HeaderStyle-Width="20px" HeaderText="Paid" SortExpression="Paid" ReadOnly="true" />
<telerik:GridBoundColumn UniqueName="PaidDate" DataField="PaidDate" HeaderText="Paid Date" HeaderStyle-Width="100px" ReadOnly="True"
DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" />
</Columns>
</MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
<ClientEvents OnBatchEditOpening="onBatchEditOpening" />
</ClientSettings>
</telerik:RadGrid>with the javascript;
function onBatchEditOpening(sender, args)
{
var row = args.get_row();
var grid = $find("<%=grdFees.ClientID %>");
var masterTable = grid.get_masterTableView();
var rows = masterTable.get_dataItems();
var isPaid = rows[row.sectionRowIndex].getDataKeyValue("Paid");
if (isPaid === "True")
{
// prevent any editing on paid fees
args.set_cancel("true");
return;
}
var showCC = rows[row.sectionRowIndex].getDataKeyValue("ShowCurrencyCode");
if (showCC === "False" && args.get_columnUniqueName() == "CurrencyCode")
{
// do not show Currency Code drop down menu
args.set_cancel("true");
}
}I want to prevent the RadComboBox from appearing if a value in the dataset is false. The good news is that it works. The bad news is after clicking on a row where showCC is false, the rest of the grid becomes unresponsive.
The grid comes back to life after clicking on Cancel Changes.
Is this a bug?
Hi Telerik Team,
I have an appointment with start time as 11 Sep 24 11:00 PM and ends at 12 Sep 24 3:00 AM ( tooltip shows the correct start time and end time supplied). The start time displays wrongly with a right arrow. Also it varies as the resolution changes. Please find the below images.
Please provide a resolution for the issue. I need to show the start time as 11 PM and should not change while resolution change.
NOTE: It displays the End time correctly even with different resolutions.
Thanks
Sathyendranath
<telerik:RadHtmlChart ID="RadHtmlChartInstall" runat="server" DataSourceID="odsChart1">
<PlotArea>
<Series>
<telerik:ColumnSeries DataFieldY="BookedHours" GroupName="WorkType" Stacked="true">
<LabelsAppearance Visible="false"></LabelsAppearance>
</telerik:ColumnSeries>
</Series>
<XAxis DataLabelsField="Day">
<TitleAppearance Text="Day">
<TextStyle Margin="5" Color="Black" Bold="true" />
</TitleAppearance>
<MajorGridLines Visible="false" />
<MinorGridLines Visible="false" />
<LabelsAppearance RotationAngle="270" Color="Black" />
</XAxis>
<YAxis>
<TitleAppearance Text="Booking Time">
<TextStyle Margin="5" Color="Black" Bold="true" />
</TitleAppearance>
<MinorGridLines Visible="false" />
<LabelsAppearance>
<TextStyle Margin="3" Color="Black" />
</LabelsAppearance>
</YAxis>
</PlotArea>
<Legend>
<Appearance Position="Bottom">
<TextStyle Color="Black" />
</Appearance>
</Legend>
</telerik:RadHtmlChart>
I would like to use the Grid in batch editing mode in a very similar layout to the https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx example. But I need to load the RadDropDownList from the .cs. I can not map a asp:SqlDataSource to the nested control.
Please can someone provide me with an example.
TIA.


Hi,
Is it possible to add cell comments? This is helpful to give users understanding of the cell values.
Thanks,
Tim

Hi Telerik team,
Some of our customers are experiencing span or br tags being
added into the HTML when they are backspacing to adjust space or combine
paragraphs. It happens on Chrome and Firefox browsers only ( please see attachments for HTML ).
Chrome browser:
Span tag is added automatic if you use backspace key to
combine paragraphs. “<span style="???;">”, style can be
background color, font size of or letter spacing. We cannot reproduce it on
Telerik demo site.
Firefox browser:
If you combine the last paragraph, <br
class="t-last-br" /> will added in the paragraph element. This
issue can reproduce it on Telerik demo site too.
We tried a few things but we still cannot solve it.
1. We tried version 2020.2.617.40 and 2020.3.1021
2. Set rendermode to classic or lightweight
3. Force to clear all Editor css files ( radEditor.CssFiles.Clear() );
4. Changed new line mode to P, BR and div
Please be advised if there a solution for it!
Thanks in advance,
Lan

Hi,
How can I let the RadSearchbox button act as the DefaultButton in an asp:Panel?
So that when ENTER is given no other buttons on the page are triggered?
Marc

Hi.
When we open a new radwindow using radopen client-side it doesn't work setting the ShowContentDuringLoad property.
Example code:
var wnd = radopen(sURL, null);
wnd.set_showContentDuringLoad(false);
I assume this should work ok?
Regards, Rolf
I could not find any api on the client-side to add an entry to the RadDropdownTree. Is this possible and if yes, then what would be some sample code? AutoPostBack property of RadDropdownTree is false, so I need to use client-side code.
I did find a method on the client side, but not sure how to use it. The api I found on my own is as below, but not sure what parameter can I pass to it and whether it will end up updating the dropdown tree automatically.
dropDownTree.get_entries()._add