This is a migrated thread and some comments may be shown as answers.

problem with generate big list of elements in the pup up if mouse hover on particular cells of column

1 Answer 26 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Dian
Top achievements
Rank 1
Dian asked on 30 Aug 2011, 11:35 PM
Hi,

I have tree list view, when user mouse hover on  particular cells of column, I want to generate a pup up to showing elements.It is working fine, but if there are so many elements in the pup up, it will crush and stop run anything.Can anyone help?   

<telerik:GridViewDataColumn  Header="Name" DataMemberBinding="{Binding Name, Converter={StaticResource InsensitiveRevConverter}}">
                      <telerik:GridViewDataColumn.CellTemplate>
                          <DataTemplate>
                              <StackPanel Orientation="Horizontal" >
                                  <Image Source="{Binding Image}" />
                                  <TextBlock x:Name="ShowELementPupUp"  Text="{Binding Name}" />
                                  <Popup PlacementTarget="{Binding ElementName=ShowELementPupUp}" Style="{StaticResource TooltipPopupStyle}" PopupAnimation="Scroll" >
                                      <telerik:RadGridView x:Name="RadGridViewOfPopUp"  Visibility="{Binding ShowElements}" AllowDrop="True" AutoGenerateColumns="False" CanUserFreezeColumns="False"
                                                                                                              CanUserInsertRows="False" CanUserReorderColumns="False" CanUserSortColumns="False"
                                                                                                              CanUserDeleteRows="False" ShowGroupPanel="False"
                                                                                                              GridLinesVisibility="None"  RowIndicatorVisibility="Collapsed"
                                                                                                              ShowColumnHeaders="False">
                                          <telerik:RadGridView.Columns>
                                              <telerik:GridViewDataColumn DataMemberBinding="{Binding Name, Mode=OneWay}" />
                                              <telerik:GridViewDataColumn MinWidth="20" DataMemberBinding="{Binding UnweightedPercentage, Mode=OneWay}"/>
                                          </telerik:RadGridView.Columns>
                                      </telerik:RadGridView>
 
                                  </Popup>
                              </StackPanel>
                          </DataTemplate>
                      </telerik:GridViewDataColumn.CellTemplate>
                  </telerik:GridViewDataColumn>

Thanks,

Fendy

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 31 Aug 2011, 07:44 AM
Hello Fendy,

 Have you tried to specify Height for this popup?

Greetings,
Vlad
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
TreeListView
Asked by
Dian
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or