Property event

6 posts, 0 answers
  1. Atanas
    Atanas avatar
    3 posts
    Member since:
    Apr 2016

    Posted 30 Sep 2016 Link to this post

    Is it possible to assign event of property? I want, when I select editor, to load new View.
  2. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    585 posts

    Posted 05 Oct 2016 Link to this post

    Hello Atanas,

    Thank you for contacting us.

    Could you please elaborate a bit more on your scenario? If I understand you correctly, you would like to edit a property in an external view. For example the editor should be a button that redirects to another page where the user could set the property value and then go back to the original page with the data form. Is this the desired scenario?

    I look forward to your reply.

    Regards,
    Rosy Topchiyska
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Atanas
    Atanas avatar
    3 posts
    Member since:
    Apr 2016

    Posted 05 Oct 2016 Link to this post

    Exactly. You have correctly understood me. Property will be completed by another page with more complex functionality.
  4. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    585 posts

    Posted 10 Oct 2016 Link to this post

    Hello Atanas,

    This scenario is not supported at this moment. In this case we suggest to our users to add external button to do the job. Also, please note that any uncommitted changes will be lost when the user redirects to another page. I have logged a feature request in our feedback portal where our community can vote for it.

    Please, let us know if you have any other questions.

    Regards,
    Rosy Topchiyska
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Chris
    Chris avatar
    22 posts
    Member since:
    Feb 2015

    Posted 24 Mar Link to this post

    Question, How would you handle a select list returning a selected item? Or is that currently not supported?

    To give you an example:

    XAML :

    <StackLayout >
                   <StackLayout.GestureRecognizers>
                       <TapGestureRecognizer Tapped="Airlines_Tapped"/>
                   </StackLayout.GestureRecognizers>
                   <Label Text="Airline"></Label>
                   <Label x:Name="airlineName" Text="{Binding AirlineName }" ></Label>
               </StackLayout>

    Code behind:

    private void Airlines_Tapped(object sender, EventArgs e)
            {
                var page = new Airlines();
                var app = Application.Current as App;
                page.AirlineList.ItemSelected += (source, args) =>
                {
                    app.AirlineName = args.SelectedItem.ToString();
                    airlineName.Text = app.AirlineName.ToString();
                    Navigation.PopAsync();
                };
                Navigation.PushAsync(page);
            }

    Where the airlines page is a simple list of airlines.

    How would you accomplish this with the dataform controls?

  6. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    585 posts

    Posted 29 Mar Link to this post

    Hello Chris,

    You can read more about RadListView selection functionality here. The RadListView also supports ItemTapped event that you can use if your scenario does not require visual selection.

    Please, let us know if you have further questions.

    Regards,
    Rosy Topchiyska
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top