Telerik Forums
UI for WPF Forum
3 answers
137 views
I have some items in a RadCarousel and their height is almost the same as the Carousel's panel. However, there is white space on the top of the RadCarousel, and the bottom of the visual is clipped off. How can I get a Carousel to correctly display items who's height is 100% of the panel?
Adam Petaccia
Top achievements
Rank 1
 answered on 21 Sep 2010
6 answers
74 views
RadChart demo, click on Flexible API -> exception is thrown.
Vlad
Telerik team
 answered on 21 Sep 2010
3 answers
514 views
Hi

I have a requirement where I need to add a radiobutton as first column of the grid and when the user selects the radiobutton the row should be selected I mean selecteditem should be set for the grid. I have used the below code to show the radio button in the grid but I am not able bind the radiobutton selection to the SelectedItem.

<telerik:GridViewDataColumn Name="GridColumnSelector" Header="">
    <telerik:GridViewDataColumn .CellTemplate>
        <DataTemplate>
               <RadioButton Name="rdCheck" GroupName="RadioSelectors" />
        </DataTemplate>
    </telerik:GridViewDataColumn .CellTemplate>
</telerik:GridViewDataColumn >

Regards
Kiran
Vlad
Telerik team
 answered on 21 Sep 2010
1 answer
102 views


Hello Telerik,
I am developing a customcontrol for radbutton .


I have a requirement to change the image of the radbutton to different image on 'Hover' operation.

public

 

 

class TngButton : TngBaseTemplateControl

 

 

 

{

 


 

 

static TngButton()

 

{

DefaultStyleKeyProperty.OverrideMetadata(

 

 

 

typeof(TngButton), new FrameworkPropertyMetadata(typeof(TngButton)));

 

}

 

 

#endregion

 

 

public override void OnApplyTemplate()

 

{

 

 

 

 

base.OnApplyTemplate();

 

 

 

 

 

RadButton btn = this.Template.FindName("PART_BaseControl", this) as RadButton;

 

 

 

 

 

ContentPresenter content = this.Template.FindName("PART_ContentControl", this) as ContentPresenter;

 

 

 

 

 

btn.Hover+=new EventHandler<Telerik.Windows.RadRoutedEventArgs>(btn_Hover);

 

 

}

 

 

 

 

 

void btn_Hover(object sender, EventArgs e)

 

{

 

 

 

 

 

// code to change the image at the hover .

 

 

 

 

 

 

}


i want to have two properties like 'originalimage' and 'hoverimage" which can be changed on mover hover action
can you help me in how to setting the logic for this ?

regards,
Srinivas

 

 

Viktor Tsvetkov
Telerik team
 answered on 21 Sep 2010
1 answer
110 views
I have a RadGridView that has columns where the header text is sometimes wider than the cell contents.  When the view is narrowed, or even when the original size is to narrow for all the columns, the horizontal scrollbar doesn't appear until the column width shrinks to the cell content size which is making it hide part of the header text.  Is there a way to force the column to autosize based on the wider of the column contents or the header text?  Would this cause the scrollbar to appear at the correct time, and not after the header text is partially hidden? 

I am using version WPF_35_2010_2_0714

Thanks
Milan
Telerik team
 answered on 21 Sep 2010
4 answers
62 views
Hi. I'm not able to use keyboard tab navigation to give focus to elements (buttons, checkboxes, or textboxes) in gridview cells. I know this is a known issue and you are working on some new properties to address the problem. Any update on when those new properties will be available?
Nedyalko Nikolov
Telerik team
 answered on 21 Sep 2010
0 answers
127 views

Hello Telerik,

I am writing a custom control Radbutton. I want to have a image as a content of the button . and i want to change the image to another image when the mouse 'hover' event happens.

first does radbutton supports image as a cotnent ?
how to implement the logic for the 'hover' operation i required.

Note : iam using template wrapping approach to build my new control.

Please help me on this.


Regards,
Srinivas
Srinivas
Top achievements
Rank 1
 asked on 21 Sep 2010
2 answers
356 views
I have a master/detail hierarchy and am wondering how to get a reference to the parent in the RowEditEnded event (see attached picture).  The RadGridView.CurrentItem and SelectedItem is the first row (Barney Rubble) even though I'm editing the detail on the third row (Pebbles).

Better yet, is there a way to set the CurrentItem or SelectedItem to be the corresponding master row when I'm at the detail level?  I have set IsSynchronizedWithCurrentItem="True" on the RadGridView control, but that seems to only work when I'm clicking on the parent rows.  When I click on a child row the Row Indicator doesn't change.

 

Wellpartner
Top achievements
Rank 1
 answered on 20 Sep 2010
1 answer
73 views

Hi,

I would like to select all the rows that contain a true value in a specific column using XAML. I am able to do this in code like so:

grid.SelectedItems.Clear();
foreach (var item in grid.Items.Cast<MyBusinessObject>().Where(c => c.IsSelected))
    grid.SelectedItems.Add(item);

But I would rather have the row selection directly bound to the underlying object. Is this possible?

Thanks,
Jose

Yavor Georgiev
Telerik team
 answered on 20 Sep 2010
1 answer
350 views

Hello,

I want to apply a style to a item container of a RadTreeListView.

I proceed like this :

1.<telerikGridView:RadTreeListView.ItemContainerStyle>
2.    <Style TargetType="{x:Type ???}">
3.        <Setter .... />
4.    </Style>
5.</telerikGridView:RadTreeListView.ItemContainerStyle>

but I don't know what's the target type.

Could you help me ?

Thanks in advance.

Patrick

Yavor Georgiev
Telerik team
 answered on 20 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?