Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
148 views

Team,

I have a RadListBox that binds a list of all folder names. I have a problem with the  type-ahead functionality which is not working for the Folder listboxes. For example, if I type "T8", I expect to be taken to the first record beginning with "T8". Instead, when I type "T8" in a listbox, I'm taken to the first record starting with T and then the first record starting with an 8.

Typing the first digit of folder jumps to that particular folder in IE, but this is not working in google chrome.Below are the list of the folder names from the listbox , and my listbox code is here . Please help me achieve this. Thanks in advance. 

<telerik:RadListBox RenderMode="Lightweight" runat="server" SelectionMode="Multiple" ID="lstFolders" Height="200px" Width="200px"
            AllowTransfer="true" TransferToID="lstFoldersDestination"  ButtonSettings-AreaWidth="35px">
</telerik:RadListBox>
<telerik:RadListBox RenderMode="Lightweight" runat="server" ID="lstFoldersDestination" SelectionMode="Multiple" Height="200px" Width="160px"
               ButtonSettings-AreaWidth="35px">
</telerik:RadListBox>

FolderList

ACN004Q
ACN004R

ACN005Q
T8MSTMTSAESP
T8MSTMTSAESPXMLX
T8STMTSAESP
6010P0010E
6010T0010CP5

 


vishnu
Top achievements
Rank 1
 answered on 02 Feb 2021
9 answers
113 views

I realized that if the "AllowCustomEntry" property is set to FALSE whenever I strike enter, space or even click mouse the contents of the text field will be cleared. How can I prevent it?

Thanks!

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 answered on 29 Jan 2021
0 answers
63 views

I need to momentarily change the background color of the dropdown (or grey it out) usin JS as a visual aid to users while it's updating contents.

I have found that there is a class called 'RadAutoCompleteBoxPopup' but I have no idea how to target it.

Any idea?

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 asked on 29 Jan 2021
3 answers
532 views

Hi,

I am using the slider in an asp.net webforms environment. 

At the start of the page, the handle is on the middle of the slider, and both side of the sliders are greyed out.

Let say the slider has a maximum range of 10. By default the handle is displayed at 5.

To select 6, the user slide to the right, and to select 4 the user slide to the left. 

When the user slides the handle, then the left part of the handle change to green.

 

If the user wants to select 5, the only way to do it at the moment is to either select 4 or 6 and then back to 5, which is not great at all.

Question 1:

Is it possible to create a onclientclick event on the handle, so when the user click on the handle it register that change as 5.

 

Question 2:

Is it possible to change the colour of the handle depending on the value selected

 

Question 3:

I am using the 'Telerik' skin which display a green colour for the slider selection, would it be possible to change the colour to red, depending on the user selection.

To illustrate my question, in the attachment below I would like to have:

First slider: The handle in a dark grey

Second slider: Has been used, would be great to have  green handle

Third slider: the slider has not been used and the handle is sitting on the middle, clicking on the handle would select the value 3, and the left side of the handler would become green.

 

Thank you for your help.

 

Peter Milchev
Telerik team
 answered on 29 Jan 2021
0 answers
97 views

Hi,

    I am using RadAsyncUpload with custom handler in my application. Once the file is chosen the upload begins. When clicking on cancel the uploading is cancelled on all browsers, except chrome.

    The cancelling works as expected, when testing the application locally. When trying to upload the file to the web server only this problem occurs.

    I can see the file uploading progress in the bottom of chrome status bar, even after clicking on 'Cancel' button. I want the file upload to be cancelled immediately when user clicks on cancel. I've searched in telerik forums for the same issue, unfortunately no luck. Any help would be much appreciated.

   Some points to note:

  •     File saving process is happening in the custom handler.
  •     Not using temp folder.
  •     There is no javascript error in the console.
  •     Browsers where cancel of file upload working fine: Firefox, IE 11, Microsoft Edge.

    Thanks in Advance.

Thirumoorthi
Top achievements
Rank 1
 asked on 29 Jan 2021
3 answers
166 views

Hi, i want to have a similar control like RichText box (winfroms) in Webforms.

I tried using the RadText editor with which i can able to copy paste images and format the text but the problem is unable to drag and drop files (text,word,exce..) to the Text editor.

is there any way i can achieve this in webforms.

 

Thanks 

Chakradhar

Rumen
Telerik team
 answered on 29 Jan 2021
0 answers
153 views

I'm trying to conditionally hide the Edit and Destroy command buttons in my Grid but I haven't had much luck figuring out how to do that. Below is the code I currently have. I saw an example on the Telerik UI ASP.NET Core forum for how to do this and it involves using the Visible() method with a handler. However, that is apparently not available in Telerik UI ASP.NET AJAX. Is there something similar that will let me accomplish this?

@(Html.Kendo().Grid<MyViewModel>()
  .Name("MyGrid")
  .Columns(columns =>
  {
    ...
    columns
      .Command(command =>
      {
        command.Edit()
        .Text("Edit Me")
        .Visible("IsEditVisible"); // this is not supported
      }
    )
    .Width("125px");
  }
)
...
<script>
function IsEditVisible(dataItem){
  return dataItem.CanEdit;
}     
Mirza
Top achievements
Rank 1
Iron
 asked on 29 Jan 2021
2 answers
90 views

Hi, im facing a issue.All my series are showing all information from all series.

I know probably it's a basic question, but could someone help me to solve this?

01.<telerik:RadHtmlChart runat="server" ID="CompetencyByParticipant" Width="80%" Height="300" Transitions="true">
02.    <ChartTitle Text="Competências por tipo de participante">
03.    </ChartTitle>
04.    <PlotArea>
05.        <YAxis>
06.            <LabelsAppearance DataFormatString="{0:0.0}">
07.            </LabelsAppearance>
08.            <MinorGridLines Visible="false" />
09.        </YAxis>
10.        <XAxis DataLabelsField="ProfileName">
11.            <TitleAppearance Text="Participantes">
12.            </TitleAppearance>
13.            <LabelsAppearance Step="3">
14.            </LabelsAppearance>
15.            <MajorGridLines Visible="true" />
16.            <MinorGridLines Visible="false" />
17.        </XAxis>
18.    </PlotArea>
19.</telerik:RadHtmlChart>

 

01.var profileGroup = from k in evaluationData
02.group k by new { Profile = k.Profile, ProfileName = k.ProfileName, CompetencyId = k.Competency, CompetencyName = k.CompetencyName } into g
03.select new
04.{
05.    Profile = g.Key.Profile,
06.    ProfileName = g.Key.ProfileName,
07.    Competency = g.Key.CompetencyId,
08.    CompetencyName = g.Key.CompetencyName,
09.    Score = g.Average(x => x.Score)
10.};
11.var chart = CompetencyByParticipant;
12.var competencies = profileGroup.Select(x => x.CompetencyName).Distinct();
13.foreach (var p in competencies)
14.{
15.    var serie = new ColumnSeries();
16.    serie.Name = p;
17.    serie.DataFieldY = "Score";
18.    chart.PlotArea.Series.Add(serie);
19.}
20.chart.PlotArea.XAxis.DataLabelsField = "ProfileName";
21.chart.PlotArea.XAxis.LabelsAppearance.Step = 3;
22.chart.DataSource = profileGroup.ToList();
23.chart.DataBind();

 

Is there a way to bind an specific dataset to each serie?

Thanks.

Vessy
Telerik team
 answered on 28 Jan 2021
2 answers
93 views

Hi Telerik team,

We have an issue with table caption in the table wizard, this issue can be reproduce on demo site. 

How to reproduce :

1. create a table using table wizard

2. go to "Accessibility tab" and add caption

3. close the table wizard 

4. bold the table caption and switch to <HTML> mode, you will see "<caption><strong>table caption</strong></caption>"

5. right click mouse and open "Table Properties"

6. caption textbox is empty if you format caption

 

Is there any solution to fix this issue?

Thanks in advance,

Lan

Judy.Wang
Top achievements
Rank 1
Veteran
 answered on 28 Jan 2021
7 answers
184 views

Sometimes the "EmptyMessage" will not show up completely (it appear cut); then if you click into the box and then click out it will show up fine after to refresh itself. Unfortunately there is not a way of reproduce this problem consistently as it happens randomly.

I would like to know if someone else has seen the problem and figured a consistent way of workaround it. I am planning a 'dirty' solution that includes to NOT use the EmptyMessage property and instead to superimpose a label over the box.

 

 

NOTE: Searching online I realized that this is an old bug that apparently was never actually fixed. I found this 6 years old thread reporting the bug: As you may see the support insisted to not have been able to see the problem. So instead to dig deeper Telerik just seated over this. Apparently the bug reporter gave up.

Vessy
Telerik team
 answered on 28 Jan 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?