Please help on getting over these warnings:
"SeverityCodeDescriptionProjectFileLineSuppression State
WarningSkipping TelerikXamarinApp1.Android.Resource.Drawable.ic_collapse_00009. Please check that your Nuget Package versions are compatible.TelerikXamarinApp1.Android"
I read some help before and tried many stuff people were saying but I cannot get over them.
Thank you!
How to achieve following things in Xamarin.iOS.
-- How to hide next month dates in month view? Currently, it is displaying the next month dates in the current month. (Refer attached image: Month_View_Dates)
-- How to place event indicators above the dates? It is displayed below the dates now. (Refer attached image: Event _Indicator)
-- How to display weekends in grey? (Refer attached image: Event _Indicator)
Thanks in advance.
Todo.xaml
list tap
private
async
void
ToDoTaskTap(
object
sender, ItemTappedEventArgs e)
{
var user = ToDoTask.SelectedItem
as
tblEmpTask;
if
(user !=
null
)
{
var mainViewModel = BindingContext
as
MainViewModel;
if
(mainViewModel !=
null
)
{
mainViewModel.Selected = user;
await Navigation.PushAsync(
new
ToDoDetail(mainViewModel));
}
}
tblEmpTask.cs
public
class
tblEmpTask
{
public
string
strTaskName {
get
;
set
; }
}
TodoDetail.xaml
<
telerikInput:RadDataForm
x:Name
=
"dataForm"
>
<
telerikInput:RadDataForm.Source
>
<
local1:MainViewModel
/>
</
telerikInput:RadDataForm.Source
>
</
telerikInput:RadDataForm
>
MainViewModel.cs
public
class
MainViewModel : INotifyPropertyChanged
{
public
tblEmpTask Selected
{
get
{
return
_Selected; }
set
{
_Selected = value;
OnPropertChanged();
}
}
[DisplayOptions(Header =
"Name"
)]
public
string
Name
{
get
{
return
this
.Selected.strTaskName; }
set
{
if
(value !=
this
.Selected.strTaskName)
{
this
.Selected.strTaskName = value;
OnPropertChanged();
}
}
}
}
I need to pass data to from listview to tododetail page where i have telerik dataform, but i am not able to do it anyone can help me with that
I've set the max date on a calendar to be 22nd December 2017. But the control will only navigate to November. I cannot page to December.
Why is it not letting me navigate the full range of dates beneath the max?
Busy Indicator Content's Label's Text is only half visible if i din't set any text size, else if i set some text size to the label then the text is not even quarter visible
<telerikPrimitives:RadBusyIndicator x:Name="busyIndicator"
AnimationType="Custom"
IsBusy="False">
<telerikPrimitives:RadBusyIndicator.Content>
<Label x:Name="BusyLabel"
Text="Logged in successfully"
FontSize="Large"
IsEnabled="False"/>
</telerikPrimitives:RadBusyIndicator.Content>
<telerikPrimitives:RadBusyIndicator.BusyContent>
<Label x:Name="BusyLoading"
HorizontalOptions="Center"
Text="Loading...iiiiiiiiii"
VerticalOptions="Center"
IsEnabled="False"
/>
</telerikPrimitives:RadBusyIndicator.BusyContent>
</telerikPrimitives:RadBusyIndicator>
Hello,
I recently updated my Telerik libraries to the latest version (2018.2.516.250) and pull to refresh stopped working on all the list in my app. I reverted back to version 2018.1.405.2 and all is working again.
The exception details from App Center are:
Application.Main (System.String[] args)
D:\Projectos\KisenseMobile v2.beta\Source\KisenseMobile\KisenseMobile.iOS\Main.cs - line 21
System.NullReferenceException: Object reference not set to an instance of an object
ListViewDataSource.OnDataChanged (System.Object sender, System.EventArgs eventArgs)
ListViewDataAdapter.RaiseDataChanged (Telerik.XamarinForms.Common.Data.CollectionChange change, Telerik.XamarinForms.DataControls.ListView.ListViewDataGroup group)
ListViewDataAdapter.RaiseDataChanged (Telerik.XamarinForms.Common.Data.CollectionChange change)
ListViewDataAdapter.OnStatusChanged (System.Object sender, Telerik.XamarinForms.Common.Data.DataProviderStatusChangedEventArgs eventArgs)
DataProviderBase.OnStatusChanged (Telerik.XamarinForms.Common.Data.DataProviderStatusChangedEventArgs args)
LocalDataSourceProvider.OnCompleted (System.Object sender, Telerik.XamarinForms.Common.Data.DataEngineCompletedEventArgs e)
ParallelDataEngine.RaiseCompleted (Telerik.XamarinForms.Common.Data.DataEngineCompletedEventArgs args)
ParallelDataEngine.RebuildCube (Telerik.XamarinForms.Common.Data.ParallelState state)
LocalDataSourceProvider.GenerateAndExecuteDataEngineRequest ()
LocalDataSourceProvider.RefreshOverride (Telerik.XamarinForms.Common.DataChangeFlags dataChangeFlags)
DataProviderBase.Refresh (Telerik.XamarinForms.Common.DataChangeFlags dataChangeFlags)
DataProviderBase.OnEditCompleted ()
DataProviderBase.Invalidate ()
LocalDataSourceProvider.OnItemsSourceChanged (System.Object newValue)
LocalDataSourceProvider.set_ItemsSource (System.Object value)
ListViewDataAdapter.UpdateItemsSource ()
ListViewDataAdapter.OnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs eventArgs)
(wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
BindableObject.OnPropertyChanged (System.String propertyName) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:153
Element.OnPropertyChanged (System.String propertyName) D:\a\1\s\Xamarin.Forms.Core\Element.cs:402
RadListView.OnPropertyChanged (System.String propertyName)
BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:634
BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:426
BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:173
BindingExpression.Apply (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property) D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:78
Binding.Apply (System.Object newContext, Xamarin.Forms.BindableObject bindObj, Xamarin.Forms.BindableProperty targetProperty, System.Boolean fromBindingContextChanged) D:\a\1\s\Xamarin.Forms.Core\Binding.cs:131
BindableObject.ApplyBindings (System.Boolean skipBindingContext, System.Boolean fromBindingContextChanged) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:457
BindableObject.SetInheritedBindingContext (Xamarin.Forms.BindableObject bindable, System.Object value) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:135
Element.SetChildInheritedBindingContext (Xamarin.Forms.Element child, System.Object context) D:\a\1\s\Xamarin.Forms.Core\Element.cs:536
Element.OnBindingContextChanged () D:\a\1\s\Xamarin.Forms.Core\Element.cs:354
View.OnBindingContextChanged () D:\a\1\s\Xamarin.Forms.Core\View.cs:150
Grid.OnBindingContextChanged () D:\a\1\s\Xamarin.Forms.Core\Grid.cs:147
BindableObject.SetInheritedBindingContext (Xamarin.Forms.BindableObject bindable, System.Object value) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:136
Element.SetChildInheritedBindingContext (Xamarin.Forms.Element child, System.Object context) D:\a\1\s\Xamarin.Forms.Core\Element.cs:536
Element.set_Parent (Xamarin.Forms.Element value) D:\a\1\s\Xamarin.Forms.Core\Element.cs:212
Element.OnChildAdded (Xamarin.Forms.Element child) D:\a\1\s\Xamarin.Forms.Core\Element.cs:368
VisualElement.OnChildAdded (Xamarin.Forms.Element child) D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:621
Layout`1[T].OnChildAdded (Xamarin.Forms.Element child) D:\a\1\s\Xamarin.Forms.Core\Layout.cs:32
Layout.OnInternalAdded (Xamarin.Forms.View view) D:\a\1\s\Xamarin.Forms.Core\Layout.cs:450
Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) D:\a\1\s\Xamarin.Forms.Core\Layout.cs:440
(wrapper delegate-invoke) .invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)
ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/mcs/class/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:288
ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/mcs/class/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:351
ObservableCollection`1[T].InsertItem (System.Int32 index, T item) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/mcs/class/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:219
Collection`1[T].Add (T item) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/mcs/class/referencesource/mscorlib/system/collections/objectmodel/collection.cs:67
ObservableWrapper`2[TTrack,TRestrict].Add (TRestrict item) D:\a\1\s\Xamarin.Forms.Core\ObservableWrapper.cs:35
RadBusyIndicator.set_VisibleContent (Xamarin.Forms.View value)
RadBusyIndicator.DisplayActualContent ()
RadBusyIndicator.OnIsBusyPropertyChanged (Telerik.XamarinForms.Primitives.RadBusyIndicator indicator, System.Boolean oldValue, System.Boolean newValue)
BindablePropertyExtensions+<>c__DisplayClass6_0`2[TDeclarer,TPropertyType].<
Create
>b__0 (Xamarin.Forms.BindableObject b, System.Object o, System.Object n)
BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:636
BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:426
BindingExpression.ApplyCore (System.Object sourceObject, Xamarin.Forms.BindableObject target, Xamarin.Forms.BindableProperty property, System.Boolean fromTarget) D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:173
BindingExpression.Apply (System.Boolean fromTarget) D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:57
BindingExpression+BindingExpressionPart.<
PropertyChanged
>b__49_0 () D:\a\1\s\Xamarin.Forms.Core\BindingExpression.cs:612
NSAsyncActionDispatcher.Apply () /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/Foundation/NSAction.cs:125
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/UIKit/UIApplication.cs:79
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) /Library/Frameworks/Xamarin.iOS.framework/Versions/11.10.1.177/src/Xamarin.iOS/UIKit/UIApplication.cs:63
Application.Main (System.String[] args) D:\Projectos\KisenseMobile v2.beta\Source\KisenseMobile\KisenseMobile.iOS\Main.cs:21
I am trying to set the styling on the calendar. However,it does not matter what settings I choose. In Android I always get a "+1" in the Date that has an appointment. I created my RadCalendar in XAML. However, I was unable to find an example on how to set AppointmentStyle properties there. So I gave the XAML element a x:Name and did so on the C# side. Also, found info saying there was a bug if you tried to set the styling before the native control loaded so I added the code there. Using the example I found in the documentation below has no effect. The calendar is set to month view.
MyCalendar.AppointmentsStyle = new CalendarAppointmentsStyle() {
DisplayMode = AppointmentDisplayMode.Shape,
Padding = new Thickness(5, 25, 5, 5),
MaxCount = 20,
Spacing = 1,
ShapesHorizontalLocation = HorizontalLocation.Right,
ShapesVerticalLocation = VerticalLocation.Bottom,
ShapesOrientation = Orientation.Vertical,
ShapeSize = new Size(6, 4),
ShapeType = CalendarAppointmentShapeType.Rectangle,
AllDayShapesDisplayMode = AllDayDisplayMode.Indicator,
AllDayIndicatorLocation = Location.Top,
AllDayIndicatorPadding = new Thickness(5, 2),
AllDayIndicatorWidth = 2,
};
i had a Datagrid and on SelectionChanged Event i am binding a model with data from the selected data on the grid. like this
Mykids_Model uimodel = new Mykids_Model();
uimodel.CHILD_NAME = SELECTEDCHILD.CHILD_NAME;
uimodel.CHILD_SURNAME = SELECTEDCHILD.CHILD_SURNAME;
uimodel.Gender = SELECTEDCHILD.GENDER;
uimodel.AGE = SELECTEDCHILD.AGE;
dataForm.Source = uimodel;
on a normal curcumstance it will bind the DataForm with the newly Assigned valued to the properties. So it used to work nicely on the previous version of the controls , but now it stopped, one need to rebind the Form twice for it to work
Bind_Selected_kid_Fields(SELECTEDCHILD);
//Because of the bug in Telerik DataForm , you need to bind it Twice
Bind_Selected_kid_Fields(SELECTEDCHILD);