Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
415 views
How can I stop the mouse scroll wheel incrementing and decrementing the values of a GridNumericColumn in my Radrgrid when EditMode="Batch" and EditType="Cell"?

This post suggests using ItemDataBound: http://www.telerik.com/forums/gridnumericcolumn-edit-control
However if I step into the debugger the code:
     if (e.Item is GridEditableItem && e.Item.IsInEditMode)
is never True

Hope you can help?
Eyup
Telerik team
 answered on 14 Jan 2019
1 answer
99 views

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.

 

 

Paul
Top achievements
Rank 1
 answered on 14 Jan 2019
10 answers
188 views

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.

İsmail
Top achievements
Rank 1
 answered on 11 Jan 2019
1 answer
164 views

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

 

Vessy
Telerik team
 answered on 10 Jan 2019
3 answers
106 views

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.

 

 

Dev
Top achievements
Rank 1
 answered on 10 Jan 2019
4 answers
136 views

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

Marin Bratanov
Telerik team
 answered on 10 Jan 2019
1 answer
46 views

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

 

Anders
Top achievements
Rank 1
 answered on 10 Jan 2019
4 answers
89 views

     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

Attila Antal
Telerik team
 answered on 09 Jan 2019
1 answer
159 views

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

Vessy
Telerik team
 answered on 09 Jan 2019
2 answers
104 views

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 &#10; html entities.

Known issue?

Kind regards,

Jelle

 

Rumen
Telerik team
 answered on 09 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?