How to show it like a modal popup

2 posts, 0 answers
  1. Carl
    Carl avatar
    17 posts
    Member since:
    Sep 2018

    Posted 13 Oct 2018 Link to this post

    Could you please guide me in how to show the busy indicator in full screen mode (like modal popups) preventing the user to tap or doing something in the screen until I close it?
  2. Didi
    Admin
    Didi avatar
    243 posts

    Posted 16 Oct 2018 Link to this post

    Hi Carl,

    In general, when RadBusyIndicator is in busy state, it hides its content and shows the animation. You can prevent user to get control for all components on the page when BusyIndicator is busy by using a grid layout. All UI controls you want to use should be inside of a Grid and after them you have to use BusyIndicator, which spans inside all rows and columns of the Grid.

    The snippet below shows how this could be achieved:

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
     
        <Label Text="Welcome to Xamarin.Forms! Lorem ipsum dolor sit amet"
             LineBreakMode="WordWrap"
             HorizontalOptions="Start" />
        <Entry Text="Welcome to Xamarin.Forms!"
             HorizontalOptions="Center" VerticalOptions="Start"
             Grid.Row="1"/>
             
        <telerikBusyIndicator:RadBusyIndicator x:Name="busy"
                                  IsBusy="True"
                                  Grid.RowSpan="2"/>
    </Grid>

    I hope this would work in your case. Let me know if you have any other questions.

    Regards,
    Didi
    Progress Telerik
    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