EventType clr20r3, P1 crm2k9.exe, P2 1.0.0.0, P3 4960255c, P4 presentationframework, P5 3.0.0.0, P6 488f142e, P7 6259, P8 e1, P9 system.windows.markup.xamlparse, P10 NIL.
thanks in advance
Hi All,
Note:Should allow user to insert a comment at the cell level
Above feature is available in infragistics is it available in this telerik gridview control
http://blogs.infragistics.com/blogs/joshs/archive/2008/09/15/introducing-a-new-xamdatagrid-behavior-displayadorningeditors.aspx
is It Available is same feature in TELERIK GRID
I need features of RadGridView datagrid.
Please tell below features are available are not or can we able to do it in this
RadGridView
datagrid
1. Allow user to copy some coulmns information to an excel sheet.
2. Show a tool tip at cell level with a mark at the top right corner of the cell.
3. Should allow user to insert a comment at the cell level
4.If any comment added to the cell, it should show a red color traiangle at the top right corner.
Please help me how can we achive above features in telerik grid
Regards,
Karunakar rao P.
<Style x:Key="RadCarouselStyle1" TargetType="{x:Type telerik:RadCarousel}"> |
<Style.BasedOn> |
<Style TargetType="{x:Type telerik:RadCarousel}"> |
<Setter Property="Template"> |
<Setter.Value> |
<ControlTemplate TargetType="{x:Type telerik:RadCarousel}"> |
<Grid> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="50*" /> |
<ColumnDefinition Width="50*" /> |
</Grid.ColumnDefinitions> |
<Button x:Name="EnSolItem" HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Column="0" Width="40" Height="40" Margin="0,0,40,0" Content="EnSol" /> |
<Button x:Name="SolItem" HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Column="0" Width="40" Height="40" Content="Sol" /> |
<Button x:Name="SagItem" HorizontalAlignment="Left" VerticalAlignment="Bottom" Grid.Column="1" Width="40" Height="40" Content="SaÄŸ" /> |
<Button x:Name="EnSagItem" HorizontalAlignment="Left" VerticalAlignment="Bottom" Grid.Column="1" Width="40" Height="40" Margin="40,0,0,0" Content="EnSaÄŸ" /> |
<Border Grid.ColumnSpan="2" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" |
BorderThickness="{TemplateBinding BorderThickness}"> |
<telerik:CarouselItemsControl x:Name="PART_RootItemsControl" Grid.ColumnSpan="2"/> |
</Border> |
</Grid> |
</ControlTemplate> |
</Setter.Value> |
</Setter> |
<Setter Property="ClipToBounds" Value="True"/> |
</Style> |
</Style.BasedOn> |
</Style> |
this is the template i'm using,
<telerik:RadCarousel x:Name="radCarousel" Style="{DynamicResource RadCarouselStyle1}"/>
In my code Behind, I have an event handler and a function to give the path and etc.
void radCarousel_Loaded(object sender, RoutedEventArgs e) |
{ |
Telerik.Windows.Controls.RadCarouselPanel panel = this.radCarousel.FindCarouselPanel(); |
this.radCarousel.ReflectionSettings.Visibility = Visibility.Visible; |
this.radCarousel.ReflectionSettings.OffsetX = 0; |
this.radCarousel.ReflectionSettings.OffsetY = 5; |
this.radCarousel.ReflectionSettings.HiddenPercentage = 0; |
this.radCarousel.ReflectionSettings.Opacity = 0.5; |
this.radCarousel.ReflectionSettings.HeightOffset = 0; |
this.radCarousel.ReflectionSettings.WidthOffset = 0; |
this.radCarousel.ReflectionSettings.Angle = 0; |
System.Windows.Shapes.Path path = CreateLinePath(); |
if (panel != null) |
{ |
this.radCarousel.FindCarouselPanel().Path = path; |
this.radCarousel.FindCarouselPanel().ItemsPerPage = 7; |
} |
} |
private System.Windows.Shapes.Path CreateLinePath() |
{ |
System.Windows.Shapes.Path newPath = new System.Windows.Shapes.Path(); |
PathFigureCollectionConverter figureConverter = new PathFigureCollectionConverter(); |
object geometryFigures = figureConverter.ConvertFromString("M30,200 L307.5,200"); |
PathGeometry newGeometry = new PathGeometry(); |
newPath.Stretch = Stretch.Fill; |
BrushConverter brushConverter = new BrushConverter(); |
newPath.Stroke = (System.Windows.Media.Brush)brushConverter.ConvertFromString("#FF0998f8"); |
newPath.StrokeThickness = 2; |
newGeometry.Figures = (PathFigureCollection)geometryFigures; |
newPath.Data = (Geometry)newGeometry; |
return newPath; |
} |
While i'm setting the
this.radCarousel.FindCarouselPanel().Path = path;
this.radCarousel.FindCarouselPanel().ItemsPerPage = 7;
part, FindCarouselPanel() returns null. Yesterday it was working. I didn't changed anything except the Style of radCarousel. Should i be implementing the RadCarouselPanel to style as well?
Please help.