Telerik Forums
UI for Xamarin Forum
1 answer
453 views

Hello good afternoon, I have a problem since I updated to the most current versions of Xamarin.Forms and Telerik.

I had a ScrollView that was the parent of a RadTabView, and when switching between Tab items it updated as heights normally.

But after the update it records only the first height of the content of the first item and when I switch to the other items the scroll does not work because the height of the Tab does not change and he is unable to make a difference to calculate how much will roll.

 

EX:

 

 <ScrollView x:Name="s"
              BackgroundColor="Azure">
        <telerikPrimitives:RadTabView x:Name="tabView"
                                          BackgroundColor="Blue"
                                          IsContentSwipingEnabled="False">
            <telerikPrimitives:RadTabView.Items>
                <telerikPrimitives:TabViewItem HeaderText="Home">
                    <telerikPrimitives:TabViewItem.Content>
                        <StackLayout x:Name="sta"
                                         BackgroundColor="Aquamarine">

                            <StackLayout.GestureRecognizers>
                                <TapGestureRecognizer Tapped="st1" />
                            </StackLayout.GestureRecognizers>

                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                        </StackLayout>
                    </telerikPrimitives:TabViewItem.Content>
                </telerikPrimitives:TabViewItem>
                <telerikPrimitives:TabViewItem HeaderText="Folder">
                    <telerikPrimitives:TabViewItem.Content>
                        <StackLayout x:Name="stb"
                                         BackgroundColor="Firebrick">

                            <StackLayout.GestureRecognizers>
                                <TapGestureRecognizer Tapped="st2" />
                            </StackLayout.GestureRecognizers>

                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                        </StackLayout>
                    </telerikPrimitives:TabViewItem.Content>
                </telerikPrimitives:TabViewItem>
                <telerikPrimitives:TabViewItem HeaderText="View">
                    <telerikPrimitives:TabViewItem.Content>
                        <StackLayout x:Name="stc"
                                         BackgroundColor="DodgerBlue">

                            <StackLayout.GestureRecognizers>
                                <TapGestureRecognizer Tapped="st3" />
                            </StackLayout.GestureRecognizers>

                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                            <Label Margin="10" Text="This is the content of the Home tabdfoihdsoifhsoidhfoisdhfoishfois"
                               HeightRequest="50"
                               BackgroundColor="Red"/>
                        </StackLayout>
                    </telerikPrimitives:TabViewItem.Content>
                </telerikPrimitives:TabViewItem>
            </telerikPrimitives:RadTabView.Items>
        </telerikPrimitives:RadTabView>
    </ScrollView>

 

Ao mudar para o terceiro item da Tab ele não entende que deve fazer scroll.

 

Porf se alguém puder ajudar, agradeço.

Didi
Telerik team
 answered on 19 Apr 2021
2 answers
128 views
     I'm not seeing this in the Telerik NuGet feed.
Larry
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 16 Apr 2021
1 answer
135 views

     Hi, 

I am looking to be able to make my data grid to be able to rotate to be in a portrait position. Anyway this is possible, or any suggestions on other Telerik controls to use for this?

 

Thanks

Lance | Senior Manager Technical Support
Telerik team
 answered on 16 Apr 2021
3 answers
742 views

Hello everyone.

Since the richtexteditor control now supports setting a selection range programmatically, by the method EditBox.SelectionRange  = new RichTextSelectionRange(startPosition,endPosition);

I just need to know how to insert specified plain text or html code at the current selected range or cursor position?

I guess probably I can achieve this by invoking javascript, but the webView.EvaluateJavaScriptAsync("<Your JS goes here>") not seems to be exposed.

Thank you.

Yana
Telerik team
 answered on 14 Apr 2021
3 answers
352 views
     How do I change the color of disabled check boxes in UWP? The color now is a dark blue.
Yana
Telerik team
 answered on 14 Apr 2021
3 answers
332 views

Hi,

When a CombBox is placed next to a vertically centered label the text in the CombBox does not align vertically which produces a bad look.

The TimePicker by comparison looks good. Also the left alignment of the text in the TimePicker also looks better.

Can the CombBox be reworked to center the text and have a more consistent layout with other controls?

Regards

Anthony

Didi
Telerik team
 answered on 13 Apr 2021
1 answer
628 views

Is it possible to have more than one RadPopup on a page? When I try to add a second popup I get an "The property 'Popup' is set more than once." error when trying to build.

 

telerikPrimitives:RadPopup.Popup

 

<!-- Loading Overlay -->
<telerikPrimitives:RadPopup.Popup>
    <telerikPrimitives:RadPopup x:Name="loadingPopup" IsOpen="{Binding IsBusy}" IsModal="True" OutsideBackgroundColor="#6FFFFFFF" Placement="Center">
        <StackLayout HorizontalOptions="Center" VerticalOptions="Center">
            <ActivityIndicator IsRunning="true" />
        </StackLayout>
    </telerikPrimitives:RadPopup>
</telerikPrimitives:RadPopup.Popup>
 
<!-- New Log Entry Overlay -->
<telerikPrimitives:RadPopup.Popup>
    <telerikPrimitives:RadPopup x:Name="newLogEntryPopup" IsOpen="{Binding ShowNewLogEntryPopup}" IsModal="True" OutsideBackgroundColor="#6FFFFFFF" Placement="Center">
        <StackLayout HorizontalOptions="Center" VerticalOptions="Center">
            <Frame BackgroundColor="White" HasShadow="True">
                <Label TextColor="{StaticResource NavigationPrimary}" FontSize="20" Margin="0,0,0,15" >Enter New Reading</Label>
            </Frame>
        </StackLayout>
    </telerikPrimitives:RadPopup>
</telerikPrimitives:RadPopup.Popup>
Alex
Telerik team
 answered on 12 Apr 2021
2 answers
161 views

I am working on styling the display label.  My hope is to get it to look like nearly identical to an RadEntry.

I have actually gotten pretty close, but one thing missing is a border.  ListPicker has a BorderColor property, but this does not actually put a border around the label, it is just an underline.  Is there a way to get an actual border without having to wrap the control inside a actual Border control?

Thanks

-Joe

Didi
Telerik team
 answered on 12 Apr 2021
4 answers
118 views

Hi,

When the user opens the picker for the first time, is there any way to have it default to the current time?

I know I can set DefaultHighlightedTime but the user may spend some minutes in the screen before they select a time so the DefaultHighlightedTime is no longer the current time and is a few minutes ago.

Regards

Anthony

Anthony
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Apr 2021
2 answers
542 views

Hi,

I have developed an Xamarin application that in Modal show a pdf in a PdfViewer.

PdfViewerPage pdfViewer = new PdfViewerPage(item.IdAllegato, item.Path, item.FlagScaricabile);
Navigation.PushModalAsync(pdfViewer);

 

When the Modal is open, I assign a url to the PdfViewer source.

pdfViewer.Source = new Uri(uri);

 

Everything is fine when I run the android app on debug mode, but when I run in release mode the PdfViewer show this message: "an error occurred while loading the document"

n/a
Top achievements
Rank 1
 answered on 07 Apr 2021
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?