2 posts, 0 answers
  1. Yong Gu Kang
    Yong Gu Kang avatar
    103 posts
    Member since:
    Jan 2010

    Posted 08 Mar 2011 Link to this post

    Hi Telerik team,

    I have no luck to display validation error mark whatever setting is.
    My xaml is as follows. Pls have a look and let me what is wrong.

    <telerik:RadTreeListView x:Name="taskTreeList" Grid.Column="2" ItemsSource="{Binding Path=Model}" Style="{StaticResource treeListStyle}"
                                   SelectedItem="{Binding Path=SelectedRow,Mode=TwoWay}"  ValidatesOnDataErrors="InViewMode"
                                          telerik:RadDragAndDropManager.AllowDrop="True" IsDragDropEnabled="True" DragCueItemTemplate="{StaticResource TaskLineTemplate}">
                       <telerik:TreeListViewTableDefinition ItemsSource="{Binding Path=ChildTasks}" />
                       <telerik:GridViewDataColumn Header="업무 절차" IsReadOnly="True" DataMemberBinding="{Binding Path=TaskName}" TextAlignment="Left" Width="0.65*" HeaderTextAlignment="Center" ValidatesOnDataErrors="InViewMode"/>
                       <telerik:GridViewCheckBoxColumn Header="최초 시작업무" DataMemberBinding="{Binding Path=InitTask,Mode=TwoWay}" 
                                                    IsReadOnlyBinding="{Binding Path=IsNotTask}" TextAlignment="Left" Width="0.35*" HeaderTextAlignment="Center" ValidatesOnDataErrors="InViewMode"/>

    My business object is certain there is error, and I tried with 'InView/InEdit/Default' in treelistview only and
    both in column as above but no luck.

    p.s. I always in radgridview without problem.

    Thank you in advance.

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1219 posts

    Posted 09 Mar 2011 Link to this post

    Hi Yong-Gu Kang,

    I have prepared a sample project for you, which depicts a RadTreeListView validation case. You may test the functionality by editing the child elements. Please, have a look at it and inform us, if this solutions fits into your requirements.

    All the best,
    Ivan Ivanov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top