We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ID is int only, is there anyway that the ID can be other types, we use GUIDs for our items

As we use GUIDs for the ids of our items, how can I set the ID?

13 Replies

PS Parthiban Sundaram Syncfusion Team January 30, 2017 12:34 PM UTC

Hi Jason,

Thanks for using Syncfusion products.

We have prepared the sample based on your requirement. Please download the sample from following location.

Sample: http://www.syncfusion.com/downloads/support/forum/128565/ze/Kanban1621552016  

If your requirement is different from this, we kindly request you to provide us more details for assisting you further on this.

Regards,
Parthiban S
 



JA Jason January 31, 2017 04:53 AM UTC

cool, can I use the kanban cardtemplate, or is there the xaml used to create the SyncFusion cardtemplate anywhere?


JA Jason February 1, 2017 07:45 AM UTC

I tried the sample, but if this is placed in a navigation and you navigate away form the page, you get a crash on both devices and simulators.

2017-02-01 20:39:07.853 GettingStartedKanbaniOS[71579:37297800] 
Unhandled Exception:
UIKit.UIKitThreadAccessException: UIKit Consistency error: you are calling a UIKit method that can only be invoked from the UI thread.
  at UIKit.UIApplication.EnsureUIThread () [0x00023] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:88 
  at UIKit.UIView.RemoveFromSuperview () [0x00000] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/build/ios/native/UIKit/UIView.g.cs:1392 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x00013] in C:\BuildAgent2\work\aad494dc9bc9783\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:87 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00079] in C:\BuildAgent2\work\aad494dc9bc9783\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:163 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0000c] in C:\BuildAgent2\work\aad494dc9bc9783\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:53 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in C:\BuildAgent2\work\aad494dc9bc9783\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:33 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x00058] in C:\BuildAgent2\work\aad494dc9bc9783\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:203 
  at Foundation.NSObject.Dispose () [0x00000] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/Foundation/NSObject2.cs:133 
  at Syncfusion.SfKanban.iOS.KanbanCardViewCell.Dispose (System.Boolean disposing) [0x0000d] in <aa5e6ed63a504737a59b6920a3ea8ff7>:0 
  at Foundation.NSObject.Finalize () [0x00000] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/Foundation/NSObject2.cs:129 


Attachment: Kanban1621552016_2_5d119d1e.zip


PS Parthiban Sundaram Syncfusion Team February 1, 2017 01:11 PM UTC

Hi Jason,

Thanks for the update.

You can use CardTemplate​​​ like we have provided in our previous sample.

Regarding "is there the xaml used to create the SyncFusion cardtemplate anywhere?​​​"

We are sorry to inform you that we are not able to understand this requirement. Could you please provide more details on this for helping you further.

Regards,
Parthiban S


LR Lakshmi Radha Krishnan Syncfusion Team February 3, 2017 05:57 AM UTC

Hi Jason, 
 
Thank you for contacting Syncfusion support.  
 
We have created an incident under your Direct Trac account. So, we request to follow the incident for further details. Our Direct Trac support system can be accessed from the following link: 
 
 
Regards, 
Lakshmi R. 
 
 
 



BU bulent February 7, 2017 06:40 PM UTC

I'm also having this crash when using SFKanban component. When leaving the navigation page, after a few seconds, the app will crash if I used a custom card template or header template.

Application Specific Information:
*** Terminating app due to uncaught exception 'UIKit.UIKitThreadAccessException', reason: 'UIKit.UIKitThreadAccessException: UIKit Consistency error: you are calling a UIKit method that can only be invoked from the UI thread.'

Xamarin Exception Stack:
  at UIKit.UIApplication.EnsureUIThread () [0x00023] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:88 
  at UIKit.UIView.RemoveFromSuperview () [0x00000] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/build/ios/native/UIKit/UIView.g.cs:1392 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x00013] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:81 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00079] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:157 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0000c] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:47 
  at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:27 
  at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x00058] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\VisualElementRenderer.cs:203 
  at Foundation.NSObject.Dispose () [0x00000] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/Foundation/NSObject2.cs:133 
  at Syncfusion.SfKanban.iOS.KanbanCardViewCell.Dispose (System.Boolean disposing) [0x0000d] in <46647069c23a40cfa89314b9c89966d1>:0 
  at Foundation.NSObject.Finalize () [0x00000] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/Foundation/NSObject2.cs:129


PS Parthiban Sundaram Syncfusion Team February 8, 2017 12:35 PM UTC

Hi Jason,

As we have already created incident for the mentioned issue under your Direct Trac account. So, we request to follow the incident for further details. Our Direct Trac support system can be accessed from the following link.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Parthiban S


BU bulent February 11, 2017 04:48 PM UTC

Hello Parthiban,

I'm not Jason, another user that hit this bug. I can't see the status of this ticket. In the meantime, are there any workaround solution for that crash?




PS Parthiban Sundaram Syncfusion Team February 13, 2017 12:31 PM UTC

Hi Bulent,

We have fixed the reported issued and included in our Essential Studio 2017 Volume 1 Main Release v15.1.0.33 which is rolled out and is available for download under the following link.

https://www.syncfusion.com/forums/128853/essential-studio-2017-volume-1-release-v15-1-0-33-is-available-for-download

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards
Parthiban S


BU bulent February 14, 2017 07:27 PM UTC

Hello Parthiban,

I used the new version, still crashing if I use custom templates for header or card.




PS Parthiban Sundaram Syncfusion Team February 15, 2017 02:43 PM UTC

Hi Bulent,

Thanks for the update.

We are not able to reproduce the reported issue at our end and we have prepared a sample for this. Please update us the modified sample to reproduce the issue which will be helpful for providing further assistance on this.

Sample: http://www.syncfusion.com/downloads/support/forum/128565/ze/GettingStartedKanban565938409     

Regards,
Parthiban S 



BU bulent February 16, 2017 05:53 AM UTC

I'm not using XAML. Generating UI from code only. Attaching my source code that triggers a crash when navigation popuped from that page.

Also I asked another question, can I loop through the cards by code to see the final order of the IDs and in which column they are? I didn't see any property that can help this task.





Attachment: SetWidgets_f1529cd5.rar


PS Parthiban Sundaram Syncfusion Team February 20, 2017 12:35 PM UTC

Hi Bulent,

We have created an incident under your Direct Trac account. So, we request to follow the incident for further details. 
 
Our Direct Trac support system can be accessed from the following link: 
 
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents  

Regards,
Parthiban S

Loader.
Live Chat Icon For mobile
Up arrow icon