AG_E_UNKNOWN_ERROR

7 posts, 1 answers
  1. reema
    reema avatar
    30 posts
    Member since:
    Oct 2008

    Posted 06 Jan 2009 Link to this post

    hi,

    actually I'm tring to populate treeview from WCF , but I get  AG_E_UNKNOWN_ERROR  in xaml page line 11 

     

     

          <UserControl.Resources> 

     

    11: <local:HierarchicalDataSource x:Key="Source" /> 
          <core:HierarchicalDataTemplate x:Key="NodeTemplate" ItemsSource="{Binding Children}">

     

         

    <core:HierarchicalDataTemplate.HeaderTemplate>

     

     

          

    <DataTemplate>

     

     

          

    <TextBlock Text="{Binding NodeText}" TextWrapping="Wrap" Width="400"/>

     

     

     

     

     

     

          </DataTemplate>

     

     

         

    </core:HierarchicalDataTemplate.HeaderTemplate>

     

     

          

    </core:HierarchicalDataTemplate>

     

     

         

    </UserControl.Resources>
     

     

     

    what is the problem with my code?

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 06 Jan 2009 Link to this post

    Hi reema,

    what is local:HierarchicalDataSource?

    Are you sure it is defined and it exists?

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. reema
    reema avatar
    30 posts
    Member since:
    Oct 2008

    Posted 07 Jan 2009 Link to this post

  4. Answer
    Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 07 Jan 2009 Link to this post

    Hi reema,

    The blog post you are refering to happens to be a bit outdated and we will update it ASAP. I am sending you a working example which correctly demonstrates what's described in the article. Let me know if this solves your problem.

    Best wishes,
    Tihomir Petkov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. reema
    reema avatar
    30 posts
    Member since:
    Oct 2008

    Posted 11 Jan 2009 Link to this post

    yes thanx a lot it is okay now.
     
  6. Mark
    Mark avatar
    155 posts
    Member since:
    Oct 2010

    Posted 19 Apr 2011 Link to this post

    Another example where information is would be more beneficial than a download.  This practice of "example only" is not the best choice for those seeking information.
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    3055 posts

    Posted 19 Apr 2011 Link to this post

    Hi Mark,

    We appreciate your feedback and will try to be more detailed in our answers. Thank you for your cooperation.

    All the best,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top