Hide Expand/Collapse

18 posts, 0 answers
  1. invivo
    invivo avatar
    12 posts
    Member since:
    Mar 2009

    Posted 23 Jun 2009 Link to this post

    Hello,

    My application looks like your example "firstlook".
    I want to be able to hide expand/Collapse image if there are no child records. I saw the example N° 101300_HideExpandButton.
    Today , is there an easier way to hide expand/Collapse ? (because this post dates september 18th, 2008)

    Thanks.

    Steph

  2. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 23 Jun 2009 Link to this post

    Hello Steph,

    You can achieve this using custom hierarchy. Please check these demos for more info:
    http://demos.telerik.com/wpf/?GridView/Hierarchy/CustomHierarchy
    http://demos.telerik.com/wpf/?GridView/Hierarchy/CustomRelationalHierarchy

    All the best,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  3. Download a free trial of UI for WPF
  4. invivo
    invivo avatar
    12 posts
    Member since:
    Mar 2009

    Posted 24 Jun 2009 Link to this post

    Hello,

    Thanks for your answer.
    But my application is a little bit different.

    In your example, you precise the row which has a collapse/expand button (whith the ID).

    In my application, I have a master table with a button which can add a child record.
    So, It's possible that a row (of the master table) doesn't have a child record (the expand / collapse is hidden). Then, the user adds a child record, so the expand/collapse must appear.
    Is it possible ?

    And I have an other issue.
    In my child table, I have 2 buttons , one for the modification of  the child row and the other is for the suppression of a child row.
    One row of the master table has only one child row. If the user deletes this row so, the row of master table doesn't have child rows anymore.
    Is it possible to hide the expand/collapse ?

    I hope that my explanation is clear .

    Thanks for your help.

    Steph

  5. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 30 Jun 2009 Link to this post

    Hi Steph,

    RadGridView will show hierarchy expand/collapse button if you add GridViewTableDefinition in RadGridView1.TableDefinition.ChildTableDefinitions or if you set e.IsExpandableRecord to true in PreviewDataRecordCreate. My suggestion is to handle this event and set desired IsExpandableRecord in both cases - child record add/remove. To force the grid to fire this event with external control (button click for example) you can call Rebind().

    All the best,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  6. invivo
    invivo avatar
    12 posts
    Member since:
    Mar 2009

    Posted 15 Jul 2009 Link to this post

    Hello,

    Thanks for your answer.
    The MasterTable.rebind() works when I add a row to my detail table.
    But when I delete a row and the detail table doesn't have rows anymore, the expand/collapse is still visible.
    My detail table is a usercontrol, so I can't do MasterDetail.Rebind().

    An I have an other issue : In my grid, when I have rows with expand/collapse visible and others rows without expand/collapse (no visible), there is a gap.
    A screen shot would be more useful but I don't how send you that.

    I hope my explanation is clear.

    Thanks a lot for your help.

    Steph

  7. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 16 Jul 2009 Link to this post

    Hello Steph,

    Please open support ticket and send us small example which demonstrate your case. We will do our best to provide more info about how to achieve desired functionality.

    Regards,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  8. Prakash
    Prakash avatar
    14 posts
    Member since:
    Aug 2009

    Posted 17 Aug 2009 Link to this post


    Currently we are using Custom Hierarchy Gridview for our Silverlight application.using WCF we are consuming data from business logic and binding to the silverlight UI.

    Please let me know about how to handle event for telerik gridview row expand in  hierarchy gridview 
    There is any way to handle expand event in code behind? 


  9. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 17 Aug 2009 Link to this post

    Hello,

    With our latest service pack you can use DataLoading event to load on demand child data. You can cast sender object to GridViewDataControl and check ParentRow and especially DataContext of the ParentRow for more info about parent data item.

    All the best,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  10. Prakash
    Prakash avatar
    14 posts
    Member since:
    Aug 2009

    Posted 21 Aug 2009 Link to this post

    I have four columns defined in telerik gridview
    first columns displays date field(currently format is MM\dd\yyyy)
    but when iam moving grid scrollbar on that time tooltip message display .it tooltip contains date field value with time 12:00:00

    How can i format the date field value in tooltip message

    Please help

  11. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 21 Aug 2009 Link to this post

    Hello,

    Please check this demo to know more about how to template the scroll indicator:
    http://demos.telerik.com/wpf/?GridView/Wpf/Scroll

    Kind regards,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  12. Prakash
    Prakash avatar
    14 posts
    Member since:
    Aug 2009

    Posted 21 Aug 2009 Link to this post

    Environment :SilverLight

    First columns displays date field(currently format is MM\dd\yyyy) in telerik gridview
    Currently  iam not write any code for this tooltip and comes default in scrollbar tooltip message(date with time)
    How can i format the date field value in scrollbar tooltip message 

    Please help

    I couldn't find the solution below URL
    http://demos.telerik.com/wpf/?GridView/Wpf/Scroll

  13. ManniAT
    ManniAT avatar
    829 posts
    Member since:
    Nov 2003

    Posted 22 Aug 2009 Link to this post

    Hi,

    the solution is there :)
    If you look at the code you'll notice that there is a template (Style for the type telerik:ScrollPostionIndicator).
    In this sample this style is use to define the look of the SB indicator.
    And you can do the same - define a style (template) and have somewhere a Label (or textblock) which is bound to your Date field.
    On this label you define the exact look you like to have.

    Regards

    Manfred

  14. Prakash
    Prakash avatar
    14 posts
    Member since:
    Aug 2009

    Posted 24 Aug 2009 Link to this post

    Control Name :      RadDatePicker
    Environment   :     SilverLight with C#
    Issue               :     Currently datepicker control in my application date format is taking from my machine regional date setting format.
                                 How can i change customizes date format in raddatepicker control
                                 Please help


                               

  15. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2460 posts
    Member since:
    Oct 2012

    Posted 26 Aug 2009 Link to this post

    Hello Chennai,

    Unfortunately RadDatePicker has no property that specifies directly the date format string. To change the date format you need to set the Culture property of the control. Unfortunately again, the Silverlight XAML parser does not support creating CultureInfo objects in XAML, so you will have to set the Culture property from the code-behind. Other option would be to provide a property of type CultureInfo in your ViewModel and bind the date pickers' Culture property to it.

    Please, let me know if you have any other questions.

    Regards,
    Ross
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  16. Prakash
    Prakash avatar
    14 posts
    Member since:
    Aug 2009

    Posted 01 Sep 2009 Link to this post

    Environment                   :  SilverLight 3.0

    Control Name                 :  Telerik GridView
    Description                     : Currently I am having four columns in gridview In that While clicking the “+” sign in grid row, its displaying details of row (using RadGridView.HierarchyChildTemplate)

     Issue                             : When Clicking the “+” sign row details displays in twice(i.e double or duplicate details display) but this happens some time not all the times   

     

    Please help

  17. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 01 Sep 2009 Link to this post

    Hi Prakash,

    Can you send us an example where this can be reproduced?

    Kind regards,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

  18. Prakash
    Prakash avatar
    14 posts
    Member since:
    Aug 2009

    Posted 01 Sep 2009 Link to this post

    1 Following source code i am using my screen 

    <
    grid:RadGridView   
    2                 x:Name="rgvHistory" IsReadOnly="True"   
    3                 RowIndicatorVisibility="Collapsed"   
    4                 ItemsSource="{Binding CompensationHistory}"                  
    5                 AutoGenerateColumns="False"    
    6                 ColumnsWidthMode="Auto" 
    7                 CanUserFreezeColumns="False"   
    8                 Height="400"   
    9                 IsFilteringAllowed="False" 
    10                 ScrollViewer.VerticalScrollBarVisibility="Visible"    
    11                 ShowGroupPanel="False"                 
    12                 Style="{StaticResource RadGrid}" Margin="0,10,0,0"   
    13                  ScrollMode="RealTime">  
    14  
    15                 <grid:RadGridView.Columns > 
    16                     <grid:GridViewDataColumn HeaderText="Effective Date" DataMemberPath="StartDate" DataFormatString="{}{0:d}" Width="134"  /> 
    17                     <grid:GridViewDataColumn HeaderText="Reason" DataMemberPath="Reason" Width="138" /> 
    18                     <grid:GridViewDataColumn HeaderText="Job Title" DataMemberPath="Title" Width="134" /> 
    19                     <grid:GridViewDataColumn HeaderText="Adjusted Amount" DataMemberPath="IncrementAmt" DataFormatString="{}{0:c}" Width="134" /> 
    20                     <grid:GridViewDataColumn HeaderText="Hourly Rate" DataMemberPath="HourlyRate"  DataFormatString="{}{0:c}" Width="134" /> 
    21                     <grid:GridViewDataColumn HeaderText="Annual Salary" DataMemberPath="Annual"  DataFormatString="{}{0:c}" Width="134" /> 
    22                     <grid:GridViewDataColumn Width="134">  
    23                         <grid:GridViewDataColumn.CellTemplate> 
    24                             <DataTemplate> 
    25                                 <HyperlinkButton Content="Comments" x:Name="hlbComments" Tag="{Binding CompensationID}" HorizontalAlignment="Left" VerticalAlignment="Top"  Click="hlbComments_Click"  MouseEnter="hlbComments_MouseEnter"  /> 
    26                             </DataTemplate> 
    27                         </grid:GridViewDataColumn.CellTemplate> 
    28                     </grid:GridViewDataColumn> 
    29                 </grid:RadGridView.Columns> 
    30  
    31                 <grid:RadGridView.HierarchyChildTemplate> 
    32                     <DataTemplate> 
    33                         <Grid x:Name="rgvHistroyDetails" Background="#FFA5C2DD" Loaded="rgvHistroyDetail_Loaded" > 
    34                             <Grid> 
    35                                 <Grid.ColumnDefinitions> 
    36                                     <ColumnDefinition/> 
    37                                     <ColumnDefinition/> 
    38                                 </Grid.ColumnDefinitions> 
    39                                 <Grid.RowDefinitions> 
    40                                     <RowDefinition /> 
    41                                     <RowDefinition /> 
    42                                     <RowDefinition /> 
    43                                     <RowDefinition /> 
    44                                     <RowDefinition /> 
    45                                     <RowDefinition /> 
    46                                     <RowDefinition /> 
    47                                 </Grid.RowDefinitions>   
    48  
    49                                 <Image Grid.Column="0" Grid.Row="0" Grid.RowSpan="3" Source="../images/Graph.PNG" Width="240" HorizontalAlignment="Left" VerticalAlignment="Top"  Margin="0,5,0,5" /> 
    50  
    51                                 <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="0" > 
    52                                     <!-- CURRENT ANNUAL PAY --> 
    53                                     <StackPanel  Orientation="Vertical" VerticalAlignment="Top" Style="{StaticResource ColWidth1}" Margin="0,8,0,8">  
    54                                         <TextBlock x:Name="lblCurrentAnnualPay" Style="{StaticResource FieldLabel}" Text="Current Annual Pay" /> 
    55                                         <TextBlock x:Name="CurrentAnnualPay" Style="{StaticResource FieldData}" Text="{Binding Annual,Mode=TwoWay,Converter={StaticResource CurrencyConverter}}" />                                                                                  
    56                                     </StackPanel> 
    57                                     <!-- CURRENT HOURLY PAY --> 
    58                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="2" Grid.Row="0" Style="{StaticResource ColWidth2}" Margin="0,8,0,8">  
    59                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblCurrentHourlyPay" Text="Current Hourly Pay" /> 
    60                                         <TextBlock Style="{StaticResource FieldData}" x:Name="CurrentHourlyPay" Text="{Binding  HourlyRate,Mode=TwoWay, Converter={StaticResource CurrencyConverter}}" />                                          
    61                                     </StackPanel> 
    62                                     <!-- AMOUNT PER PAYCHECK --> 
    63                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="3" Grid.Row="0" Style="{StaticResource ColWidth3}" Margin="0,8,0,8">  
    64                                         <TextBlock x:Name="lblAmountPerPaycheck" Style="{StaticResource FieldLabel}" Text="Amount Per Paycheck" /> 
    65                                         <TextBlock x:Name="AmmountPerPaycheck" Style="{StaticResource FieldData}" Text="{Binding PerPay,Mode=TwoWay, Converter={StaticResource CurrencyConverter}}" />                                          
    66                                     </StackPanel> 
    67                                 </StackPanel> 
    68  
    69                                 <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch">  
    70                                     <!-- PAY TYPE --> 
    71                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="1" Grid.Row="1" Style="{StaticResource ColWidth1}" Margin="0,8,0,8">  
    72                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblPayType" Text="Pay Type" /> 
    73                                         <TextBlock Style="{StaticResource FieldData}" x:Name="PayType" Text="{Binding PayType,Mode=TwoWay}" /> 
    74                                     </StackPanel> 
    75                                     <!-- PAYROLL FREQUENCY --> 
    76                                     <StackPanel  Orientation="Vertical" VerticalAlignment="Top" Grid.Column="2" Grid.Row="1" Style="{StaticResource ColWidth2}" Margin="0,8,0,8">  
    77                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblPayrollFrequency" Text="Pay Frequency" /> 
    78                                         <TextBlock Style="{StaticResource FieldData}" x:Name="PayrollFrequency" Text="{Binding PayCycle,Mode=TwoWay}" /> 
    79                                     </StackPanel> 
    80                                     <!-- SCHEDULED HOURS --> 
    81                                     <StackPanel x:Name="stkpnlScheduledHours" Orientation="Vertical" VerticalAlignment="Top" Grid.Column="3" Grid.Row="1" Style="{StaticResource ColWidth3}" Margin="0,8,0,8">  
    82                                         <StackPanel Orientation="Horizontal">  
    83                                             <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblScheduledHours" Text="Scheduled Hours" /> 
    84                                             <Image Source="../images/icon-field-help.png" x:Name="imgFieldHelpScheduledHours" MouseLeftButtonUp="imgFieldHelpScheduledHours_MouseLeftButtonUp" Style="{StaticResource Image_HelpIcon}" /> 
    85                                         </StackPanel> 
    86                                         <TextBlock Style="{StaticResource FieldData}" x:Name="ScheduleHours" Text="{Binding HoursPerPay,Mode=TwoWay, Converter={StaticResource DoubleConverter}}" /> 
    87                                     </StackPanel> 
    88                                 </StackPanel> 
    89  
    90                                 <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Stretch">  
    91                                     <!-- CURRENCY CODE --> 
    92                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="1" Grid.Row="2" Style="{StaticResource ColWidth1}" Margin="0,8,0,8">  
    93                                         <StackPanel Orientation="Horizontal">  
    94                                             <TextBlock Style="{StaticResource FieldLabel}" x:Name="txtblkCurrencyCode" Text="Currency Code" /> 
    95                                             <Image Source="../images/icon-field-help.png" x:Name="imgFieldHelpCurrentCode" MouseLeftButtonUp="imgFieldHelpCurrentCode_MouseLeftButtonUp" Style="{StaticResource Image_HelpIcon}" /> 
    96                                         </StackPanel> 
    97                                         <TextBlock Style="{StaticResource FieldData}" x:Name="CurrencyCode" Text="{Binding LocalCurrency,Mode=TwoWay}" /> 
    98                                     </StackPanel> 
    99                                     <!-- PAY GROUP --> 
    100                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="1" Grid.Row="2" Style="{StaticResource ColWidth2}" Margin="0,8,0,8">  
    101                                         <StackPanel Orientation="Horizontal">  
    102                                             <TextBlock Style="{StaticResource FieldLabel}" x:Name="txtblkPayGroup" Text="Pay Group" /> 
    103                                             <Image Source="../images/icon-field-help.png" x:Name="imgFieldHelpPayGroup" MouseLeftButtonUp="imgFieldHelpPayGroup_MouseLeftButtonUp" Style="{StaticResource Image_HelpIcon}" /> 
    104                                         </StackPanel> 
    105                                         <TextBlock Style="{StaticResource FieldData}" x:Name="PayGroup" Text="{Binding PayGroup,Mode=TwoWay}" /> 
    106                                     </StackPanel> 
    107                                 </StackPanel> 
    108  
    109  
    110                                 <!-- JOB SUMMARY --> 
    111                                 <Grid Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" Margin="0,10,0,0">  
    112                                     <Grid.ColumnDefinitions> 
    113                                         <ColumnDefinition /> 
    114                                         <ColumnDefinition /> 
    115                                     </Grid.ColumnDefinitions> 
    116                                     <Grid.RowDefinitions> 
    117                                         <RowDefinition /> 
    118                                         <RowDefinition /> 
    119                                     </Grid.RowDefinitions> 
    120  
    121                                     <TextBlock Grid.Column="0" Grid.Row="0" Text="CURRENT JOB SUMMARY" Style="{StaticResource SubHeader}" />                                      
    122                                     <Line Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2" Margin="0" Stroke="#FF999999" X1="0" Y1="0" Y2="0" StrokeDashArray="2,6" X2="918" /> 
    123                                 </Grid> 
    124  
    125                                 <StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="4" Grid.ColumnSpan="2">  
    126                                     <!-- CURRENT JOB TITLE --> 
    127                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="0" Grid.Row="4" Style="{StaticResource ColWidth0}" Margin="0,8,0,8">  
    128                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblCurrentJobTitle" Text="Current Job Title" /> 
    129                                         <TextBlock Style="{StaticResource FieldData}" x:Name="CurrentJobTitle" Text="{Binding Title}" /> 
    130                                     </StackPanel> 
    131                                     <!-- PAY GRADE --> 
    132                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="1" Grid.Row="4" Style="{StaticResource ColWidth1}" Margin="0,8,0,8">  
    133                                         <StackPanel Orientation="Horizontal">  
    134                                             <TextBlock Style="{StaticResource FieldLabel}" x:Name="txtblkPayGrade" Text="Pay Grade" /> 
    135                                             <Image Source="../images/icon-field-help.png" x:Name="imgFieldHelpPayGrade" MouseLeftButtonUp="imgFieldHelpPayGrade_MouseLeftButtonUp" Style="{StaticResource Image_HelpIcon}" /> 
    136                                         </StackPanel> 
    137                                         <TextBlock Style="{StaticResource FieldData}" x:Name="PayGrade" Text="{Binding PayGrade}" /> 
    138                                     </StackPanel> 
    139                                     <!-- LOCATION --> 
    140                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="2" Grid.Row="4" Style="{StaticResource ColWidth2}" Margin="0,8,0,8">  
    141                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblLocation" Text="Location" /> 
    142                                         <TextBlock Style="{StaticResource FieldData}" x:Name="Location" Text="{Binding Location}" /> 
    143                                     </StackPanel> 
    144                                     <!-- SUPERVISOR --> 
    145                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="3" Grid.Row="4" Style="{StaticResource ColWidth3}" Margin="0,8,0,8">  
    146                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblSupervisor" Text="Supervisor" /> 
    147                                         <TextBlock Style="{StaticResource FieldData}" x:Name="Supervisor" Text="{Binding SupervisorName}" /> 
    148                                     </StackPanel> 
    149                                 </StackPanel> 
    150  
    151                                 <StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2">  
    152                                     <!-- DEPARTMENT --> 
    153                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="0" Grid.Row="5"  Style="{StaticResource ColWidth0}" Margin="0,8,0,8">  
    154                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblDepartment" Text="Department" /> 
    155                                         <TextBlock Style="{StaticResource FieldData}" x:Name="Department" Text="{Binding Department}" /> 
    156                                     </StackPanel> 
    157                                     <!-- BUSINESS UNIT --> 
    158                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="1" Grid.Row="5"  Style="{StaticResource ColWidth1}" Margin="0,8,0,8">  
    159                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblBusinessUnit" Text="Business Unit" /> 
    160                                         <TextBlock Style="{StaticResource FieldData}" x:Name="BusinessUnit" Text="{Binding BusinessUnit }" /> 
    161                                     </StackPanel> 
    162                                     <!-- REGION --> 
    163                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="2" Grid.Row="5"  Style="{StaticResource ColWidth2}" Margin="0,8,0,8">  
    164                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblRegion" Text="Region" /> 
    165                                         <TextBlock Style="{StaticResource FieldData}" x:Name="Region" Text="{Binding Region}" /> 
    166                                     </StackPanel> 
    167                                     <!-- OFFICE ID --> 
    168                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="3" Grid.Row="5"  Style="{StaticResource ColWidth3}" Margin="0,8,0,8">  
    169                                         <StackPanel Orientation="Horizontal">  
    170                                             <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblOfficeId" Text="Office ID" /> 
    171                                             <Image Source="../images/icon-field-help.png"  x:Name="imgFieldHelpOfficeID" MouseLeftButtonUp="imgFieldHelpOfficeID_MouseLeftButtonUp" Style="{StaticResource Image_HelpIcon}" /> 
    172                                         </StackPanel> 
    173                                         <TextBlock Style="{StaticResource FieldData}" x:Name="OfficeId" Text="{Binding Room}" /> 
    174                                     </StackPanel> 
    175                                 </StackPanel> 
    176  
    177                                 <StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="2">  
    178                                     <!-- DIVISION --> 
    179                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="0" Grid.Row="6"  Style="{StaticResource ColWidth0}" Margin="0,8,0,8">  
    180                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblDivision" Text="Division" /> 
    181                                         <TextBlock Style="{StaticResource FieldData}" x:Name="Division" Text="{Binding Division}" /> 
    182                                     </StackPanel> 
    183                                     <!-- COMPANY --> 
    184                                     <StackPanel Orientation="Vertical" VerticalAlignment="Top" Grid.Column="1" Grid.Row="6"  Style="{StaticResource ColWidth1}" Margin="0,8,0,8">  
    185                                         <TextBlock Style="{StaticResource FieldLabel}" x:Name="lblCompany" Text="Company" /> 
    186                                         <TextBlock Style="{StaticResource FieldData}" x:Name="Company" Text="{Binding Company}" /> 
    187                                     </StackPanel> 
    188                                 </StackPanel> 
    189                             </Grid> 
    190                         </Grid> 
    191                     </DataTemplate> 
    192                 </grid:RadGridView.HierarchyChildTemplate> 
    193             </grid:RadGridView> 

  19. Vlad
    Admin
    Vlad avatar
    11043 posts
    Member since:
    Sep 2012

    Posted 01 Sep 2009 Link to this post

    Hello Prakash,

    Let's continue our conversation in your other thread since this thread is for WPF.

    Sincerely yours,
    Vlad
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

Back to Top
Download a free trial of UI for WPF