Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have create a dynamic ui with label and entry boxed based on the return from the database. I currently have the label working dynamic but i am unable to retrieve the value from the user input. I would like to put all the values from the user input into a list.

What I have tried:

Xaml////

    <Label x:Name="{Binding Key}" Grid.Column="0"  Text="{Binding Value}" FontSize="14"  FontAttributes="Bold" TextColor="Black"  >
                  </Label>
                  <Entry     Grid.Column="1" Placeholder="{Binding Value}" IsVisible="{Binding pickerVisible, Converter={StaticResource BooleanNotConverter}}" FontSize="14"  FontAttributes="Bold" TextColor="Black" ></Entry>
                  <Picker    Grid.Column="1"  IsVisible="{Binding pickerVisible}"  ItemsSource="{Binding PredefinedItems}"   >

<pre> <Button  Text="{forms:Translate btnSubmit}"   Grid.Row="13" Grid.ColumnSpan="2" Clicked="GetValues" WidthRequest="48" HeightRequest="48"  Style="{StaticResource TicketResolveButtonStyle}" />





C#///

async void GetValues(object sender, EventArgs e)
       {
           var itemTemplate = new DataTemplate(typeof(MasterDataInputPage));
           itemTemplate.CreateContent();

           if (itemTemplate != null)
           {


           }
       }
Posted
Updated 19-Jul-17 10:07am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900