Telerik Forums
UI for Xamarin Forum
1 answer
112 views

Hi,

So I have two questions:

The first one is concerning the RadCalendar in my windows phone project. I currently have a
Xamarin Forms project implementing the Telerik radcalendar. The calendar is working fine in 
the Android and Windows 8.1 project.

I followed the steps from http://docs.telerik.com/devtools/xamarin/controls/calendar/calendar-getting-started,
added all the references and changed the Mainpage.xaml.cs file. However after that I get the following error:
"Cannot find type System.Windows.Controls.ItemsControl in module System.Windows.dll.". I'm not sure if this is
connected to implementing the RadCalender, but the error only shows up after adding the references.

My second question is regarding Xamarin Forms UWP support. Are there any plans in the future for supporting 
the Telerik RadCalendar for UWP projects?

Regards,

Peter

 

 

Rosy Topchiyska
Telerik team
 answered on 07 Mar 2016
1 answer
122 views

HI,

 

I would like to know if there is a possibility using the telerik xamarin ui to bind to an odata source (with automatic paging/filter/group/sort capabilities) ?

Ves
Telerik team
 answered on 03 Mar 2016
1 answer
58 views

I am using the telerik listview in our project(Xamarin.forms). I have overridden the CellForItem of TKListViewDataSource Class in TelerikListViewDataSource(newly created class) . To which property of the TKListView i should bind this in the render. I created the Data Template for this listview in the XAML.

 

Thanks In Advance.

Pavel R. Pavlov
Telerik team
 answered on 02 Mar 2016
1 answer
159 views

Just getting started with a trial and started converting my first form over to use RadDataForm, for some reason, only the last property is showing when I run, seems like its likely layout out on top of each other?  Any help is appreciated.

Here's my xaml

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:mvvm="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
             xmlns:input="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
             x:Class="AmMac.Calculators.Views.RefinanceCostBenefitAnalysisCalculatorView"
             mvvm:ViewModelLocator.AutowireViewModel="True" 
             Title="Refinance Cost Benefit Analysis Calculator - Current Loan - Step 1">
  <input:RadDataForm CommitMode="Immediate" ValidationMode="Immediate"  Source="{Binding Model}"/>
</ContentPage>

Here's my model

public class RefinanceCostBenefitAnalysisCalculatorModel : NotifyPropertyChangedBase
    {
        private decimal _initialLoanAmount;
        [DisplayOptions(Header = "What was your Initial Loan Amount?", PlaceholderText = "Enter Amount",Position = 1)]
        [NonEmptyValidator]
        public decimal InitialLoanAmount
        {
            get
            {
                return _initialLoanAmount;
            }
            set
            {
                if (_initialLoanAmount != value)
                {
                    _initialLoanAmount = value;
                    OnPropertyChanged();
                }
            }
        }

        private DateTime _actualFirstPaymentDate;
        [DisplayOptions(Header = "When was the Actual First payment date?", PlaceholderText = "Enter First payment date", Position = 2)]
        [NonEmptyValidator]
        public DateTime ActualFirstPaymentDate
        {
            get
            {
                return _actualFirstPaymentDate;
            }
            set
            {
                if (_actualFirstPaymentDate != value)
                {
                    _actualFirstPaymentDate = value;
                    OnPropertyChanged();
                }
            }
        }

        private int _numberOfPaymentsAlreadyMadeDecimal;
        [DisplayOptions(Header = "How many Payments have you Already Made?", PlaceholderText = "Enter Number of Payments", Position = 3)]
        [NonEmptyValidator]
        public int NumberOfPaymentsAlreadyMade
        {
            get
            {
                return _numberOfPaymentsAlreadyMadeDecimal;
            }
            set
            {
                if (_numberOfPaymentsAlreadyMadeDecimal != value)
                {
                    _numberOfPaymentsAlreadyMadeDecimal = value;
                    OnPropertyChanged();
                }
            }
        }
    }

Here's my view model

 

public class RefinanceCostBenefitAnalysisCalculatorViewModel : BindableBase, INavigationAware
    {
        private readonly INavigationService _navigationService;

        public RefinanceCostBenefitAnalysisCalculatorViewModel(INavigationService navigationService)
        {
            _navigationService = navigationService;
            Model = new RefinanceCostBenefitAnalysisCalculatorModel();

        }

        private RefinanceCostBenefitAnalysisCalculatorModel _model;
        public RefinanceCostBenefitAnalysisCalculatorModel Model
        {
            get { return _model; }
            set { SetProperty(ref _model, value); }
        }

        private bool _nextCommandCanExecute = true;
        public bool NextCommandCanExecute
        {
            get { return _nextCommandCanExecute; }
            set { SetProperty(ref _nextCommandCanExecute, value); }
        }

        public ICommand NextCommand
        {
            get
            {
                return new DelegateCommand(NextCommandExecute).ObservesCanExecute(p => NextCommandCanExecute); ;
            }
        }

        private void NextCommandExecute()
        {
            _navigationService.Navigate("RefinanceCostBenefitAnalysisCalculatorView2");
        }
        
        #region INavigationAware Implementation

        public void OnNavigatedFrom(NavigationParameters parameters)
        {

        }

        public void OnNavigatedTo(NavigationParameters parameters)
        {

        }

        #endregion
    }

Rosy Topchiyska
Telerik team
 answered on 01 Mar 2016
1 answer
103 views

Hello,

In our app, we represent the user with data using the RadCartesianChart control. Each column represents a "details" page behind it. We currently utilize Single-Selection ChartSelectionBehaviors to accomplish this. 

In many scenarios, some of the columns a user may want to click on are far too small to be selected (see attached screenshot). Since the Series Labels are always the same size, is there a way to make the Series Label included in the selection "hitbox"? If not, would you have any suggestions on how to accomplish selecting very small columns without presenting the user with a dialog?

Thanks!

Pavel R. Pavlov
Telerik team
 answered on 01 Mar 2016
3 answers
118 views

How is it possible that we still don't have Nuget Packages and are left with manual DLL relinking when using UI for XamForms?  When Microsoft baked Nuget into Visual Studio, this was the call that all developer control and support packages NEEDED to move to Nuget too.  It feels like circa 2000 having to manually relink DLLs to upgrade controls.

What does it take to get traction on something as simple as universal Nuget support from Telerik?  

Why would one platforms controls work differently than others?

Should we take this as a sign to abandon UI for Xamarin?

Nikolay
Telerik team
 answered on 25 Feb 2016
1 answer
105 views

Hi,

I receive the following error:

System.TypeLoadException: Could not load type 'Com.Telerik.Widget.List.SlideItemAnimator' from assembly 'Telerik.Xamarin.Android.List, Version=2016.1.204.0, Culture=neutral, PublicKeyToken=null'.

I've included the most recent assemblies of version 2016.1.204.0:

- Android.Common
- Android.Data
- Android.List

And:
- Xamarin.Android.Support.Design
- Xamarin.Android.Support.v4
- Xamarin.Android.Support.v7.AppCompat
- Xamarin.Android.Support.v7.RecyclerView

public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
    _view = base.OnCreateView(inflater, container, savedInstanceState);
 
    _viewModel = (ItemListViewModel)base.ViewModel;
 
    var itemListDataAdapter = new itemListItemDataAdapter();
    var itemListView = _view.FindViewById<RadListView>(Resource.Id.itemListView);
    itemListView.SetAdapter(itemListDataAdapter);
     
    //FadeItemAnimator fadeItemAnimator = new FadeItemAnimator();
    //itemListView.SetItemAnimator(fadeItemAnimator);
    SlideItemAnimator slideItemAnimator = new SlideItemAnimator();
    itemListView.SetItemAnimator(slideItemAnimator);
 
    return _view;
}

 

Linker is set to 'None'.

Compile Using Android Version: 23

Minimum Android Target: 15

Target Android version: 23

 

Can anyone help me with this error? Many thanks in advance :)

Todor
Telerik team
 answered on 25 Feb 2016
8 answers
133 views

Hi,

When can we expect the service release for Q1 2016?

Just looking for a rough idea as we have some outstanding issues

 * Group header doesn't resize in listview on device rotation

 * Sorting on groups not currently support in Forms Listview

 * Legend missing on Vertical Axis in iOS still

 

Thanks.

Pavel R. Pavlov
Telerik team
 answered on 24 Feb 2016
2 answers
155 views

I`m usinglistViewTemplateCell with vertical stack layout contains image and label. Once I`m changing the device orientation  cell changing orientation too and cutting the image and label is disappearing.

here is the code:

<telerik:RadListView.ItemTemplate >
      <DataTemplate >
        <listView:ListViewTemplateCell >
          <listView:ListViewTemplateCell.View >
              <StackLayout Padding="10" Orientation="Vertical">
                <Image  Aspect="AspectFit"   VerticalOptions="Start" HorizontalOptions="Center"  Source="{Binding ImagePath, Converter={StaticResource imageConverter}}" />
 
                <Label Text="{Binding ItemName}" HorizontalOptions="Center" VerticalOptions="EndAndExpand" FontAttributes="Bold"/>
              </StackLayout>
            
          </listView:ListViewTemplateCell.View>
        </listView:ListViewTemplateCell>
      </DataTemplate>
    </telerik:RadListView.ItemTemplate>

and here is the screenshots how the screens look

https://i.gyazo.com/babda11a4a72d23ed101af18123e7f7b.png Vertical

https://i.gyazo.com/e6f25b23b9393cb3544bb18ca0308c3e.png Horizontal

 

Thanks in advance for any help.

Rosy Topchiyska
Telerik team
 answered on 23 Feb 2016
7 answers
123 views
Is it possible to have a group that shows normal UITableView cells in a data form?
Adrian
Telerik team
 answered on 18 Feb 2016
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?