Telerik Forums
UI for WPF Forum
3 answers
147 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
81 views
RadChart demo, click on Flexible API -> exception is thrown.
Vlad
Telerik team
 answered on 21 Sep 2010
3 answers
534 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
105 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
115 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
63 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
138 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
366 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
80 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
365 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
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?