Telerik Forums
UI for Xamarin Forum
1 answer
154 views
how can I give label positions at outside in piechatseries
Didi
Telerik team
 answered on 06 Apr 2023
2 answers
135 views
Can I render my gauge chart ranges from c# code to UI?I have to bind my ranges based on specific conditions. Finally the ranges colors should be given in xaml. How can I achieve this? 
Lance | Senior Manager Technical Support
Telerik team
 answered on 29 Mar 2023
1 answer
128 views
how can I give area border for linechart?
Didi
Telerik team
 answered on 28 Mar 2023
1 answer
123 views
How to hide and show series based on legend clickevent
Didi
Telerik team
 answered on 27 Mar 2023
0 answers
97 views
Hi, the calendar on iOS in monthview mode looks good because we have put a white background but the yearcalendar or monthscalendar mode appears with a black background. I would like to be able to put a white background but I don't see what the property is.

Thank you.
X
Top achievements
Rank 1
 asked on 21 Mar 2023
1 answer
123 views
Can I give Label to trackball behavior for its tooltip other than category and its value?
Didi
Telerik team
 answered on 17 Mar 2023
1 answer
117 views
I am getting spline series data individually how to get these splineseries together in combine mode?
Lance | Senior Manager Technical Support
Telerik team
 answered on 16 Mar 2023
1 answer
111 views
how to convert valuebinding values to percentage 
Lance | Senior Manager Technical Support
Telerik team
 answered on 16 Mar 2023
2 answers
673 views

Hi Team,

I am using RadTabView, which contains 2 tabs.

1st Tab has RadEntry and 2nd tab has custom grid (not telerik).

When I click on 2tab and without the 2nd tab being appeared properly when I click on 1st tab, the app is getting crashed saying System.ObjectDisposedException: 'Cannot access a disposed object. Object name: 'Telerik.XamarinForms.InputRenderer.Android.BorderEditText'.'

 

Using following version:

Xamarin Forms:- 5.0.0.2515

Telerik UI For Xamarin:- 2022.3.914.1

 

Kindly help me out with this.

 

Thanks & Best Regards,

Mohammed Rameez Raza.

Jiri
Top achievements
Rank 1
Iron
 answered on 10 Mar 2023
4 answers
690 views

Hello all together.

The problem is, that the RadDataGrids horizontal scrolling stops working on dynamically reloading the RadDataGrids ItemsSource. Horizontal srolling is no longer possible then. (I have a bit of a complex UI, where the RadDataGrid is wrapped inside a Grid inside a StackPanel, ..., but I could not find any coherence to the issue.)

What you need:

1. RadDataGrid with 1 DataGridTemplateColumn
2. ItemsSource bound to ObservableCollection in ViewModel
3. DataTemplate in Column 1 with Label to display text from binding through ItemsSource. Important: Text length to display in the Label must be wider than RadDataGrids with, to let the horizontal scollbar appear.
4. Two buttons in the view. On each button tap reassign the ObservableCollection in ViewModel with "new ObservableCollection" (see added source code).
5. Switch two or three times between Button1 and Button2 to let the ItemsSource be reassigned.
6. Try horizontal scrolling on white space in RadDataGrid. Scrollbar won't appear and scrolling won't be possible. If you set RadDataGrids SelectedItem after reassining the ItemsSource, scolling will only be possible again if you tap the selected item again.

 

(property ListItems is binding to RadDataGrids ItemsSource. Source code is not optimized, just from scratch to catch the point.)

private void Button1ClickCommand()
{
    List<string> list = new List<string>
    {
        "This is a very long text for testing horizontal scrollbar issue.",
        "This is a very long text for testing horizontal scrollbar issue.",
        "This is a very long text for testing horizontal scrollbar issue.",
        "This is a very long text for testing horizontal scrollbar issue.",
        "This is a very long text for testing horizontal scrollbar issue.",
        "This is a very long text for testing horizontal scrollbar issue."
    };
 
    Device.BeginInvokeOnMainThread(() => ListItems = new ObservableCollection<string>(list));
}
 
private void Button2ClickCommand()
{
    List<string> list = new List<string>
    {
        "This is another very long text for testing horizontal scrollbar issue.",
        "This is another very long text for testing horizontal scrollbar issue.",
        "This is another very long text for testing horizontal scrollbar issue.",
        "This is another very long text for testing horizontal scrollbar issue.",
        "This is another very long text for testing horizontal scrollbar issue.",
        "This is another very long text for testing horizontal scrollbar issue."
    };
 
    Device.BeginInvokeOnMainThread(() => ListItems = new ObservableCollection<string>(list));
}
 
ObservableCollection<string> listItems;
public ObservableCollection<string> ListItems
{
    get
    {
        return listItems;
    }
    set
    {
        listItems = value;
        OnPropertyChanged();
    }
}

 

Thank you,

best regards

Martin

Didi
Telerik team
 updated answer on 10 Mar 2023
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?