Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views

After I enter a character and press the backspace button, the character does not delete.

However, when I press and hold backspace, or when I select the entire text, the characters will delete .

Like in the image, the 'S' will not be deleted when I am tapping backspace.

This happens only on Android but not on IOS or Web.

Valentin Dragnev
Telerik team
 answered on 07 Oct 2022
1 answer
108 views

I'm using a RadComboBox to search through clients via WebService


<telerik:RadComboBox ID="txtcontraente" runat="server" EmptyMessage="Seleziona un cliente" LoadingMessage="Caricamento in corso..." WebServiceSettings-Method="GetText" WebServiceSettings-Path="/Modules/WS/TContraente_radws_fullname.asmx" MinFilterLength="3" EnableLoadOnDemand="true" MarkFirstMatch="false" Style="max-width: 300px" Width="100%" OnClientKeyPressing="OnClientKeyPressing" DropDownWidth="400px">

    <ClientItemTemplate>
        <table style="width: 100%;">
            <tr>
                <td>#= Attributes.Nominativo #
                </td>
                <td style="text-align: right;">#= Attributes.DataNascita #
                </td>
            </tr>
            <tr>
                <td>#= Attributes.Convenzione #
                </td>
                <td style="text-align: right;">#= Attributes.Societa #
                </td>
            </tr>
        </table>
        <hr style="padding: 0px; margin: 0px;"></hr>
    </ClientItemTemplate>
</telerik:RadComboBox>

The problem I'm having is that sometimes requests overlap and are received at wrong times.
E.g. I search for 'abcd' (which would yield no results), then I delete the 'd' and search becomes 'abc' (which should yield results).
The problem is that sometimes the 'abcd' request is received after the 'abc' request, thus yielding no results.

Attila Antal
Telerik team
 answered on 07 Oct 2022
1 answer
99 views

I just added image manager to our site, and noticed one problem. our image uploaded location has already got lot of images, and I found it hard to find the image that just uploaded.  not too sure what is the best way to make it more user friendly without too much coding changes. 

I was wondering if image manager can add search box to search in existing images? or will it possible to show the latest uploaded image first?

Thanks in advance!

 

Rumen
Telerik team
 answered on 06 Oct 2022
1 answer
125 views

Hi,

 

I have a RadCombobox like this:

 

        <telerik:RadComboBox CheckBoxes="true" ID="rcb_team" DataSourceID="sds_team" DataValueField="id" DataTextField="naam" runat="server">
            <HeaderTemplate>
                <label class="mr-3">&nbsp;</label>
                 <div class="row">
                        <div class="col-6">Naam</div>
                     <div class="col-6">Functie</div>
                </div>
            </HeaderTemplate>
            <ItemTemplate>
                 <div class="row">
                        <div class="col-6"><%# Eval("naam") %></div>
                  <div class="col-2">
                      <telerik:RadButton ID="rb_teamleider" AutoPostBack="false" ToggleType="Radio" ButtonType="ToggleButton" GroupName="Radios" runat="server">
                            <ToggleStates>
                    <telerik:RadButtonToggleState Text="Checked"></telerik:RadButtonToggleState>
                    <telerik:RadButtonToggleState Text="UnChecked"></telerik:RadButtonToggleState>
                </ToggleStates>
            </telerik:RadButton>
                </div>
            </ItemTemplate>
        </telerik:RadComboBox>

 

In this scenario the radio buttons are not toggling...can you please reproduce and see what is happening?

 

Thanks,

Marc

Attila Antal
Telerik team
 answered on 06 Oct 2022
1 answer
126 views

Hello,

Any chart that renders as SVG or any .svg image end up blank when using the RadClientExportManager.

The blank chart in the attached image is rendered as svg. The first donut chart renders as SVG but I convert it to png so it shows. If  I convert them to an svg file first they are still blank. The other charts are using telerik charts. 

This happens for exportPDF, exportIMAGE and exportSVG in the RadClientExportManager. Anything that renders as an SVG ends up blank.

I tried your demo online and it renders the map blank as well. So I'm assuming the map renders as an SVG. Is there a way to fix this?

https://demos.telerik.com/aspnet-ajax/client-export-manager/applicationscenarios/wysiwyg-export/defaultcs.aspx

Thanks,

Jesse

Peter Milchev
Telerik team
 answered on 05 Oct 2022
2 answers
140 views
Dear Friends,

Is there a way we can freeze the last column or last n columns in a RAD Grid? I know we can do this for the first column but I have a business requirement that 1,2 and n, n-1 would appear frozen and other columns can contribute and move within an horizontal scrolling.
Doncho
Telerik team
 updated answer on 05 Oct 2022
1 answer
456 views

I have a RadGrid that displays some images from a database.  I'm trying to add a button to the grid that allows the user to download the image using the original file name and extension saved in the ImageName column.

 


<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSourceImageUpload" OnItemCommand="RadGrid1_ItemCommand"> <MasterTableView DataKeyNames="ImageID" DataSourceID="SqlDataSourceImageUpload" > <Columns> <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="download_file" UniqueName="download" ></telerik:GridButtonColumn> <telerik:GridBoundColumn DataField="ImageName" UniqueName="ImageName" ></telerik:GridBoundColumn> <telerik:GridBinaryImageColumn DataField="ImageData" ></telerik:GridBinaryImageColumn> </Columns> </MasterTableView>

 


                <asp:SqlDataSource ID="SqlDataSourceImageUpload" runat="server"
                                   ConnectionString="<%$ ConnectionStrings:123ConnectionString %>" 
                                   SelectCommand="SELECT * FROM [tbl_Images]" 
                                   DeleteCommand="DELETE FROM [tbl_Images] WHERE [ImageID] = @ImageID" 
                                   InsertCommand="INSERT INTO [tbl_Images] ([ImageData], [ImageName], [Text]) 
                                   VALUES (@ImageData, @ImageName, @Text)" 
                                   UpdateCommand="UPDATE [tbl_Images] SET [Text] = @Text WHERE [ImageID] = @ImageID">
                    <DeleteParameters>
                        <asp:Parameter Name="ImageID" Type="Int32" />
                    </DeleteParameters>
                    <InsertParameters>
                        <asp:QueryStringParameter Name="IncidentID" QueryStringField="ID" Type="String" />
                        <asp:Parameter Name="Text" Type="String" />
                    </InsertParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="Text" Type="String" />
                        <asp:Parameter Name="ImageID" Type="Int32" />
                    </UpdateParameters>
                </asp:SqlDataSource>

I found this code online, and honestly not sure how to make it all work with what I'm trying to do.  I really feel like I'm over complicating this whole thing.  Is there an easy button I'm missing somewhere?

The ultimate goal is for the user to click a download button and have the image download using the ImageName field as the file name.

    Protected Sub RadGrid1_ItemCommand(sender As Object, e As GridCommandEventArgs)
        If e.CommandName = "download_file" Then
            Dim ditem As GridDataItem = CType(e.Item, GridDataItem)
            Dim filename As String = ditem("ImageName").Text
            Dim path As String = MapPath("/sample/" & filename)
            Dim bts As Byte() = System.IO.File.ReadAllBytes(path)
            Response.Clear()
            Response.ClearHeaders()
            Response.AddHeader("Content-Type", "Application/octet-stream")
            Response.AddHeader("Content-Length", bts.Length.ToString())
            Response.AddHeader("Content-Disposition", "attachment; filename=" & filename)
            Response.BinaryWrite(bts)
            Response.Flush()
            Response.[End]()
        End If
    End Sub


Attila Antal
Telerik team
 answered on 05 Oct 2022
1 answer
136 views

Hello!

I am trying to find a way to set RadMenu items' imageUrl via Javascript. Is that possible? By ImageUrl, I mean the image on the left of the menu (icons).

 

Thanks!

Johnny
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 05 Oct 2022
1 answer
166 views

Hi, I want to have a column in radgrid batch edit and that column can contain either a textbox or dropdown based on a condition of the binding dataset. How can I implement this?

Thanks

Attila Antal
Telerik team
 updated answer on 04 Oct 2022
1 answer
124 views

Hello,

I have a DataForm that is bound to a complex object.  Within this complex object we have sub-objects that are Lists<> of other objects.  How can I put a RadGrid inside the DataForm and have it bind to the sub-object List<>?

Doncho
Telerik team
 answered on 29 Sep 2022
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
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
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?