I'm basing my page on your car rental demo for the grid. This is the demo that opens a NestedViewTemplate when you click a row.
The Container property is used to get the file url for the image for the car. My problem is that in my application I have several images. I want to just iterate over the image urls using inline C# code to insert the images. But I can't use the Container property in the inline code.
<%
// Container is undefined here
// What I want to do is call something like
List<string> urls = GetTheUrls(Container);
for (int i = 1; i < urls.Count; ++i) { %>
<asp:Image runat="server" AlternateText="Car Image" ImageUrl='<%# files[i]%>' Height="400px" />
<% } %>
%>
So what do I do?
I hope this is a clear enough request.
HI
I'm designing a news site and using radeditor. As I showed in the picture in an accurate error while working properly, I could not find the answer in the forum, I'm waiting for your help.
hi,
I am trying to figure upload async out using Batch edit.
I works like a charm on this Demo using row edit:
https://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid
Is it possible to upload a single file to a varbinary on Batch edit?
Thx,
Valerio
Hi,
i have an issue with NumericTextBox.
when the NumericTextBox has spinbuttons enabled, then its width are not taking in account and overlays the value and during editing the cancel-button as well. i am using Microsoft Windows 10 (1809) and its Microsoft Edge.
here the code-snip:
<
telerik:RadNumericTextBox
ID
=
"RadNumericTextBox1"
runat
=
"server"
MinValue
=
"0"
MaxValue
=
"100"
DbValue='<%# Eval("test") %>'
ShowSpinButtons="False"
NumberFormat-AllowRounding="False"
ReadOnlyStyle-HorizontalAlign="Right"
NegativeStyle-HorizontalAlign="Right"
InvalidStyle-HorizontalAlign="Right"
HoveredStyle-HorizontalAlign="Right"
FocusedStyle-HorizontalAlign="Right"
EnabledStyle-HorizontalAlign="Right"
EmptyMessageStyle-HorizontalAlign="Right"
DisabledStyle-HorizontalAlign="Right"
/>
Same behaviour, when using CcsClass style to align the value to the right.
Hi,
How I can render a icon from a custom font inside of a button using a <i> tag?
<telerik:RadButton ID="btSearch" runat="server" Primary="true" Text="<i class='zmdi zmdi-search'></i> Search" EnableEmbeddedSkins="false" OnClick="btSearch_Click"></telerik:RadButton>
Attached is the problem and the button (objective) I want to accomplish.
Thanks
When I select timeslots, using the left mouse button and dragging, those timeslots will be incorrectly choosen on a scrolled down webpage.
The screenshot is attached.
This picture shows the end of a mouse drag operation, starting with the timeslot above the current one, so 2 timeslots should have been choosen (instead of 6).
Why? What can I do about it?
This question is also asked on
https://stackoverflow.com/questions/53871128/selecting-timeslots-in-radscheduler-on-webpage-initially-scrolled-down-results-i
Hello,
I have a RadDock in a RadZoneDock and when I put a RadAjaxPanel that encompasses the entire page, one of my docks goes blank (see attachment). When remove Ajax, it works. What should I look at please?
<telerik:RadAjaxPanel ID="RadAjaxPanel" runat="server" LoadingPanelID="RadAjaxLoadingPanel" Width="100%">
Page content.
</telerik:RadAjaxPanel>
Thank you,
Josh
I have an array of items of possible CSV fields that when the page load i need it to auto populate with the correct field name of the CSV,
<div id="divRadGridCsvImport_Wrapper" class="RadGridWrapper">
<telerik:RadGrid EnableLinqExpressions="False" ID="radgridCsvMapping" runat="server" AutoGenerateColumns="false" AllowPaging="False" AllowSorting="False" GridLines="None" Width="500">
<ClientSettings EnableRowHoverStyle="true"></ClientSettings>
<MasterTableView>
<Columns>
<telerik:GridTemplateColumn HeaderText="CSV Field">
<ItemTemplate>
<asp:Label ID="CSVfield" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.CSVfield")%>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Sample Data">
<ItemTemplate>
<asp:Label ID="SampleData" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.CSVfield")%>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="System Field">
<ItemTemplate>
<asp:DropDownList CssClass="inputfields" ID="dropDownColumnName" onchange="FieldMappingsOnChange(this)" runat="server" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<NoRecordsTemplate>
<div>
<asp:Literal ID="litNoRecords" runat="server" Text="No Records" />
</div>
</NoRecordsTemplate>
</MasterTableView>
</telerik:RadGrid>
</div>
See in the image loaded, i'm trying to make it easier for users so if a match to the field with our field names is closer i.e. same names or close to as possible, it will load these when the page loads. then the user can change and fill in the ones that couldn't be automatically populated. I think Load On Demand may work, but before i try this, i'd like to know if it can be done or what others are doing.
Thanks
Hi,
Since sort time we've moved to XLSX export format of all of our grids but found some strange behavior when exporting data with centriage return (and some of this kind of data). Please see the attachment.
I've debugged the data while exporting, and it seems it is still correct without strange html entities.
Known issue?
Kind regards,
Jelle