Hi,
I have to process the files in the UploadedFiles collection in a certain order (alphabetical). Is that possible from the collection (LINQ?) or should I save the files first to the TargetDirectory and go from there?
Marc
This always worked till now:
var chart = $("#ctl00_RecordOverview_rc_heaterpower").getKendoChart();
Now we get:
service.aspx?id=7&mt=M999&mv=01&ms=00003:217 Uncaught TypeError: $(...).getKendoChart is not a function
at init (service.aspx?id=7&mt=M999&mv=01&ms=00003:217:83)
at HTMLDocument.<anonymous> (service.aspx?id=7&mt=M999&mv=01&ms=00003:265:29)
at i (Telerik.Web.UI.WebResource.axd?
Anyone knows what is happening here?
Regards,
Marc
With code coming from your demo's I get:
|
What am I doing wrong?
Marc

This question relates to ASP.NET RadListView.
I have added records to a RadListView by using the following JavaScript:
radListView.appendData(data.Data);
Everything is done using JavaScript for this RadListView. I now have a new requirement that requires me to remove all the records added during the last appendData call. How would I do this using JavaScript?
The RadListView is template-based and uses the template below.
<LayoutTemplate>
<div id="items"></div>
<div id="pagerContainer"></div>
</LayoutTemplate>
<ItemTemplate>
<div class="recordContainer">
<div class="subject">#=Subject#</div>
<div class="message" >#=MessageText#</div>
<div class="author">#=Author#</div>
</div>
</ItemTemplate>
The way I was going to handle this situation was by keeping track of the number of data items added in the last appendData call. Let's say this number is 20. I would then find the last 20 DOM elements having a class of "recordContainer" and remove those DOM elements. The sample code in jQuery would be as mentioned below, which I haven't tried. However, you might be able to help me figure out a better way to do this, if there is one.
$("div#items div.recordContainer").slice(-20).remove();This is the sample I am trying to get working. Any help would be appreciated.
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart2" Width="900px" Height="400px">
<ChartTitle Text="Services">
<Appearance Align="Center" />
</ChartTitle>
<Legend>
<Appearance Visible="true" Position="Bottom" />
</Legend>
<PlotArea>
<Series>
<telerik:RangeBarSeries Name="123">
<SeriesItems>
<telerik:RangeSeriesItem From="1748736000000" To="1783123200000" />
</SeriesItems>
<Appearance>
<FillStyle BackgroundColor="#5B9BD5" />
</Appearance>
</telerik:RangeBarSeries>
<telerik:RangeBarSeries Name="PT1">
<SeriesItems>
<telerik:RangeSeriesItem From="1748736000000" To="1751068800000" />
</SeriesItems>
<Appearance>
<FillStyle BackgroundColor="#ED7D31" />
</Appearance>
</telerik:RangeBarSeries>
<telerik:RangeBarSeries Name="PT2">
<SeriesItems>
<telerik:RangeSeriesItem From="1753142400000" To="1755388800000" />
</SeriesItems>
<Appearance>
<FillStyle BackgroundColor="#A9D18E" />
</Appearance>
</telerik:RangeBarSeries>
</Series>
<XAxis Type="Date" BaseUnit="Months" MinDateValue="05/01/2026" MaxDateValue="09/01/2026">
<MinorGridLines Visible="false" />
</XAxis>
<YAxis>
<MinorGridLines Visible="true" />
<MajorGridLines Visible="true" />
</YAxis>
</PlotArea>
</telerik:RadHtmlChart>This is the current output:

I get the following error when exporting to an excel:
One of the columns does contain a "-" in the first position, but it is not a formula. Is there any way to export to excel and ignore formulas?

Using an Editor demo available from the demos, switch to HTML view and paste the following HTML into it:
<div class="row g-3">
<div class="col-6">
<h4>Left column...</h4>
<br />
This selector will match any element that has a class attribute starting with "col-". For example, it will match elements with classes like "col-1", "col-2", "col-header", etc.<br />
<br />
</div>
<div class="col-6"><span>Right column...</span></div>
</div>Now, switch again to the Design mode.
Try to add some text after the "Right column..." text by placing the cursor in the end of the text, pressing enter and writing something, or just try to change that text format into an H4.
Editor will insert a new paragraph with the col-6 class and outside that DIV!
Here's the result:
<div class="row g-3">
<div class="col-6">
<h4>Left column...</h4>
<br />
This selector will match any element that has a class attribute starting with "col-". For example, it will match elements with classes like "col-1", "col-2", "col-header", etc.<br />
<br />
</div>
<div class="col-6"><span>Right column...</span></div>
<p class="col-6"><span>Just want to add more text...</span></p> --> this should not be here!
</div>How can this be fixed? Need to provide some snippets but they are unusable this way.
Thank you

Rad Editor is stuck in time. Today's web content is structured using DIVs, leaving tables for presenting data.
Examples like Telerik Web UI Editor Editable DIV Content Area Demo | Telerik UI for ASP.NET AJAX are so obsolete and shows that this control has been left behind.
Will you ever support creating contents using DIV elements with a dialog box that allows to add CSS classes or define style settings?

I am filtering a grid (tableview) in javascript to filter to a single condition.
$find(tableViewID).filter("Photo_Group", args.get_item().get_value(), "EqualTo");
However, where can I find how to filter to multiple conditions.
Ie the above condition OR filter("Photo_Group", "-1", "EqualTo");
I can see how to do this using the Filtering control, but I cannot show/use a filtering control on the page.