Reorder and adjust row height

3 posts, 1 answers
  1. Travis Gorrie
    Travis Gorrie avatar
    9 posts
    Member since:
    Nov 2009

    Posted 31 Mar 2011 Link to this post

    In the DataForm can you programmatically reorder the fields and adjust the size (height) of the row textbox.

  2. Answer
    Pavel Pavlov
    Pavel Pavlov avatar
    2039 posts

    Posted 05 Apr 2011 Link to this post

    Hi Travis Gorrie,

    The only way to control the order of appearance of auto generated datafields is by using the Display.Order attribute form Data Annotations.

    Pavel Pavlov
    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
  3. Leos
    Leos avatar
    57 posts
    Member since:
    Jul 2010

    Posted 06 Apr 2011 Link to this post

    if you do not plan to use autogenerating, you can use this way to create "high row" in DataTemplate:
    <telerik:DataFormDataField Label="Note:"
        DataMemberBinding="{Binding Popis, Mode=TwoWay}"                                              
        Description="Some additional note">
             <TextBox Text="{Binding Note, Mode=TwoWay}"
                AcceptsReturn="True"  />                          

    See "height" in TextBox inserted into DataFormField.Content.
Back to Top