Telerik Forums
UI for Xamarin Forum
2 answers
172 views

I have a Forms app using RadPopup

var preview = new RadPopup();
             
preview.IsModal = true;
preview.Placement = PlacementMode.Center;
preview.PlacementTarget = overlay;
 
var containerGrid = new Grid { Padding = 10 };
// populate grid here
 
preview.Content = containerGrid;
 
preview.IsOpen = true;

 

this works great on Android.  On iOS nothing happens.  The popup does not display, and I don't see any errors, exceptions or console messages.

Any suggestions on what might be wrong, or how I can go about debugging this?

Telerik 2019.1.318.1

XF 3.6.0.344457

iOS 12.2

 

Didi
Telerik team
 answered on 06 Jun 2019
1 answer
544 views

I would like to mimic the style of display aleart found in andriod and ios sdk for a input dialog i have so far. But i do not no how to set the height and the width of the popup.

But its not quite their as you will see with the screen grab.

 

![](https://i.imgur.com/mRQ2YKm.png)

 

Also how would one allow the keyboard to dismiss the window. uppon clicking the keyboard return?.

01.<telerikPrimitives:RadPopup.Popup>
02.    <telerikPrimitives:RadPopup x:Name="popupQty"
03.                            IsModal="True"
04.                                Placement="Center"
05.                                
06.                            OutsideBackgroundColor="#B3FFF493">
07.        <telerikPrimitives:RadBorder
08.        CornerRadius="6"
09.        BackgroundColor="#93D7FF"
10.        Padding="10">
11.            <Grid>
12.                <Grid.RowDefinitions>
13.                    <RowDefinition Height="100" />
14.                    <RowDefinition Height="100" />
15.                </Grid.RowDefinitions>
16.                <Label Text="Please enter qty"></Label>
17.                <telerikInput:RadEntry x:Name="txtQty"/>
18. 
19. 
20. 
21.                <Button Grid.Row="1"
22.                    Padding="2"
23.                    HorizontalOptions="Center"
24.                    Text="Close"
25.              
26.                    CornerRadius="6"
27.                    BackgroundColor="#7A9BFF"
28.                    TextColor="White" />
29.            </Grid>
30.        </telerikPrimitives:RadBorder>
31.    </telerikPrimitives:RadPopup>
32.</telerikPrimitives:RadPopup.Popup>
Yana
Telerik team
 answered on 03 Jun 2019
1 answer
90 views

hi,

i need to increase week number font size and weight. that is done using following code, inside CalendarDelegate UpdateVisualsForCell

weekNumberCell.Label.AdjustsFontSizeToFitWidth = true;
weekNumberCell.Style.TextFont = weekNumberCell.Label.Font.WithSize(16);
weekNumberCell.Style.TextFont = UIFont.BoldSystemFontOfSize(16);

 

since week number cell width or label width can not increase, font size automatically get reduce.

i need a way to increase week number cell width or automatically increase according to text in it.

 

Yana
Telerik team
 answered on 03 Jun 2019
7 answers
824 views

Hi

I have followed the blog post on Using UI for Xamarin in Visual Studio for Mac and successfully added and logged on to the Telerik NuGet source. However I do not see any packages under this source.

Could someone please help

Thanks

Steve

Lance | Senior Manager Technical Support
Telerik team
 answered on 30 May 2019
1 answer
170 views

I have a list that is populated when the view is navigating.  Everything loads as expected except with the AutoCompleteView the FilteredItems list starts out empty.  Everything is filtered.  If I enter a character the FilteredItems then shows what I would expect.  With the obsolete AutoComplete this does not occur, the FilteredItems is the complete list as expected.  For now sticking with the correctly behaving AutoComplete

Thanks

-Joe

Yana
Telerik team
 answered on 30 May 2019
5 answers
339 views

hi,

at the end of the "SuggestionItemSelected" event i want to unfocus AutoCompleteView. but use of AutoCompleteView.Unfocus() has no effect on controller, even Unfocused event is not hit. i am doing this because i want to hide Android soft keyboard after user selected suggested item. 

1) At Least  AutoComplete.HideSuggestions(); should hide Android soft keyboard

2) or at the end of SuggestionItemSelected event soft keyboard should hide

i have used Unfocus() event even in "BeginInvokeOnMainThread"

Hide Android soft keyboard is my main concern, only tested in Android.

 

private void AutoComplete_SuggestionItemSelected (object sender, Telerik.XamarinForms.Input.AutoComplete.SuggestionItemSelectedEventArgs e)
       {
         
            
            
               AutoComplete.Text = "";
               AutoComplete.HideSuggestions();
               AutoComplete.Unfocus();
                  
       }
Didi
Telerik team
 answered on 29 May 2019
10 answers
259 views

I just upgraded from Windows 10 version 1803 to version 1809 on my development machine, because my Xamarin app was crashing on machines with 1809. Sure enough, after upgrading, Visual Studio would build the app but crash immediately with a XAML Uncaught Exception error and give me no information to go on.

After isolating various bits of code, I found the culprit to be any ContentView with a RadButton in it. If I comment out all of the RadButtons, the code works fine as it did in version 1803 (minus any buttons :-/ ).

Does anybody have any ideas about why this would be happening and/or a workaround other than replacing all my RadButtons?

Lance | Senior Manager Technical Support
Telerik team
 answered on 28 May 2019
8 answers
413 views

Hi,

In our chat application we receive Author avatars as byte arrays. I see that in the chat control the Avatar property on Author is a string and it isn't clear how one would use a dynamic image, is there any guidance on achieving this?

thanks

Lance | Senior Manager Technical Support
Telerik team
 answered on 28 May 2019
4 answers
207 views

Hi,

We are currently trying to integrate the chat UI with our Xamarin app, and things are going ok however on iOS the rendering of the control looks a little less polished and bits are missing. I have attached an image demonstrating it in this post. I have annotated the image. On Android these issues are not a problem.

The Telerik controls have been installed via the official Nuget package source. We are using the latest version of Xamarin Forms and the Telerik controls.

Questions;

1. How can we improve the iOS rendering?

2. How can we further customise the entry box etc.? I see another post reference a control template, but I can't seem to find the control template XAML anywhere?

many thanks

Petar Marchev
Telerik team
 answered on 28 May 2019
5 answers
88 views

Hello,

I have a lot of points for users can take appointment.But this points have different open time and close time.

How can i add specific open time,close time for points with MVVM.

Is that possible?

Thank you.

Stefan Nenchev
Telerik team
 answered on 27 May 2019
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?