Hi,
I have this code and I want the popup appear on the grid not on the button?
Thaks, <HorizontalStackLayout Grid.Row="1" HorizontalOptions="End">
<telerik:RadButton Text="Remove" WidthRequest="100" BackgroundColor="Red" Margin="10" Command="{Binding OnRemoveSchedulerCommand}">
<telerikPrimitives:RadPopup.Popup>
<telerikPrimitives:RadPopup IsOpen="{Binding ShowPopupOnRemoveScheduler}"
IsModal="True" Placement="Center"
OutsideBackgroundColor="#6F000000">
<telerikMauiControls:RadBorder CornerRadius="8"
BackgroundColor="{DynamicResource PrimaryColor}">
<Grid Padding="20"
WidthRequest="300"
HeightRequest="220">
<Grid.RowDefinitions>
<RowDefinition Height="40" />
<RowDefinition Height="70" />
<RowDefinition Height="40" />
</Grid.RowDefinitions>
<Button Grid.Row="0"
Padding="2"
HorizontalOptions="End"
Text="X"
Command="{Binding ClosePopupOnRemoveScheduler}"
BackgroundColor="{DynamicResource PrimaryColor}" TextColor="White" />
<Label Grid.Row="1" Text="Are you sure you want to delete the scheduler ?" TextColor="White" HorizontalOptions="Center" VerticalOptions="Center"/>
<HorizontalStackLayout Grid.Row="2" HorizontalOptions="End">
<telerik:RadButton Text="Cancel" Padding="2" BackgroundColor="{DynamicResource PrimaryColor}" TextColor="White" Margin="10" Command="{Binding ClosePopupOnRemoveScheduler}"/>
<telerik:RadButton Text="OK" Padding="2" BackgroundColor="{DynamicResource PrimaryColor}" TextColor="White" Margin="10" Command="{Binding RemoveSchedulerCommand}"/>
</HorizontalStackLayout>
</Grid>
</telerikMauiControls:RadBorder>
</telerikPrimitives:RadPopup>
</telerikPrimitives:RadPopup.Popup>
</telerik:RadButton>
<telerik:RadButton Text="Add" WidthRequest="100" BackgroundColor="#1ABB9C" Margin="10" Command="{Binding OnNewSchedulerCommand}"/>
</HorizontalStackLayout>