setting DataFieldID and ParentFIeldID as arabic string

2 posts, 0 answers
  1. Bassem
    Bassem avatar
    14 posts
    Member since:
    Jul 2012

    Posted 24 Apr 2014 Link to this post

    i'm having an issue setting up those two parameters when the key coming from the database is arabic
    Conversion failed when converting the nvarchar value 'ج' to data type int
    this error occurred, can anyone please tell me what the best way to make my radtreeview work ?
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1728 posts

    Posted 29 Apr 2014 Link to this post


    The problem you are facing is that table field in your data base where you store the parent id value should be int type instead of nvarchar. The nvarchar is string representation and this character could be cast to int type. My suggestion is to to use int type column for the RadTreeNode id and parent values.

    Boyan Dimitrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top