Telerik Forums
UI for Xamarin Forum
1 answer
105 views

hi good days to all,

i go through example source code here  https://github.com/telerik/telerik-xamarin-forms-samples/blob/master/QSF/QSF/Examples/DataFormControl/ReservationsExample/DataFormView.xaml.cs

validation is done through code behind :


private void DoneButton_Clicked(object sender, EventArgs e)
        {
            this.dataForm.FormValidationCompleted += DataForm_FormValidationCompleted;
            this.dataForm.ValidateAll();
        }

I'm using command binding in button to call delegate command in mvvm.  Is it  possible to call ValidateAll() from within mvvm or specific method to achieve this ? 

UMP
Top achievements
Rank 1
Iron
 updated question on 08 Jun 2021
2 answers
111 views

Date picker on iOS behaves and looks stangelly. Please see screenshot attached of the Example app provided in the latest available package Telerik_UI_for_Xamarin_2020_3_1106_1_Dev

Rodrigo
Top achievements
Rank 1
Veteran
 answered on 17 Nov 2020
3 answers
87 views

Is it possible in UI for Xamarin to have a DataForm with a custom editor to display a ListView (with options to choose from) in a new View/Page?

This behaviour I am trying to describe is similar to searching/choosing a Table and/or Location in the sample app "Telerik UI for iOS" (Data Form > Reservations).

Any pointer would be appreciated.

Ves
Telerik team
 answered on 31 Aug 2017
1 answer
80 views

I have noticed in the docs there is a guide on how to implement an autocomplete editor in android:

http://docs.telerik.com/devtools/xamarin/controls/dataform/howto/dataform-howto-use-native-editors-android#autocomplete-editor-in-android

Is there an equivalent example on how to do this in iOS as I am struggling to get it working?

Thanks, James.

Adrian
Telerik team
 answered on 19 Aug 2016
3 answers
103 views

Hi, I was wondering if there was a way to specify the values that come back from a Data Form Segmented Editor. If I supply an array with four values to the ValuesProvider for the editor, instead of the default 0-3 values that would come back depending on what was selected, can we supply it with values for each option so that it comes back as 1-4 instead of 0-3. I was going to try and create a TKDataSource with an object that had a name and value, but it doesn't look like you can attach a TKDataSource to a segmented editor. Am I stuck with the default values in this case?

Thanks,

Nick

Adrian
Telerik team
 answered on 02 Jun 2016
1 answer
36 views

Hi,

I'm trying to load a DataForm in a modal view :

- actionDataForm.ModalPresentationStyle = UIModalPresentationStyle.FormSheet;

When I use an EditorClass of type "TKDataFormOptionsEditor", I can't click on the ">" button to show the options list.

It works fine when I open the DataForm in full screen mode.

How can I make it work ?

Regards,

Adrian
Telerik team
 answered on 01 Jun 2016
7 answers
79 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
1 answer
78 views
I'm trying to make a TKDataFormDatePickerEditor to load with an empty date field but the TKDataFormDatePickerEditor always shows today date. Here's what I'm doing in the UpdateEditor method after setting the value candidate to null.
if (property.Name == "StartDate") {
  if (this.ownerVC.dataSource ["StartDate"].ValueCandidate == null) {
    ((TKDataFormDatePickerEditor)editor).EditorValueLabel.Text = string.Empty;
  }
}
Adrian
Telerik team
 answered on 03 Feb 2016
4 answers
98 views

Is there there a way to do a drill down into multiple levels in a values provider? For example, the values provider would show a cell with the value 'Colors' and if they selected 'Colors' it would push to another values provider with color names (red, blue, etc.)?

Also, is there a way to dynamically hide/show properties in the data form based on the values selected in a values provider and when they change? 

Adrian
Telerik team
 answered on 13 Jan 2016
1 answer
60 views
I'm trying to follow the examples for the iOS Xamarin TKDataForms. How do you get the value providers, say for the EncryptionLevel property in the DataFormGettingStarted example, to push to another view? I'm trying to add this to an app and mine isn't pushing to the new a view like the example is. Is there other code that is required for the push of the new view controller or is it done when I assign the value in the value provider?  
Adrian
Telerik team
 answered on 28 Dec 2015
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Bronze
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?