Telerik Forums
UI for WPF Forum
1 answer
92 views
Hi,

I'm using a custom filter row similar to the one shown in the examples.

If I change a value within a cell and then immediately change the filter criteria of the corresponding column the change of the value is lost. I think the reason for this is that the edit mode is not left when the cell loses focus (see attached screen shot). The issues can be reproduced with the examples application.

Any suggestions?

Regards Uli

Yavor Georgiev
Telerik team
 answered on 24 Aug 2010
0 answers
127 views
Hi,

I'm using the RadCarousel, with 7 Images as carousel items. How can I change the image source of the selected carousel item at runtime? For example, I want to open the carouselitem 1 with image A. Later, when the user clicks on the item 1 (and it becomes the Top item), I want to set image B to that item.

Thanks
Ela
Ela
Top achievements
Rank 1
 asked on 24 Aug 2010
1 answer
105 views

I have a RadPanelBar with two RadPanelBarItems. I would like to keep these two items in expanded form all the time. I’m also adding RadPanelBarItems programmatically and would like to Collapse only the new items that were added. How can I keep the first two items expanded?

Thanks
RJ

Viktor Tsvetkov
Telerik team
 answered on 24 Aug 2010
2 answers
69 views
i'm trying to do as the second example in here, but with no luck.

i have an x axis that is of type xcategory,
y1 that is of type yvalue,  
y2 that is of type yvalue and
group of type xcategory (that contains 2 categories)
the legend display the following: 
y1 
y1
y2
y2
i would like the legend to display the y axis with the appropriate xcategory:
y1 category 1
y1 category 2
y2 category 1
y2 category 2
is it possible???
Rachel
Top achievements
Rank 1
 answered on 24 Aug 2010
1 answer
128 views

Hi

The following little example should illustrate my problem.

I have three classes in my system:

1. Class Person
  - Name
  - Age.

2. Class Student : Person (Inherites from Person)
  - Grade

3. Class Teacher : Person (Inherites from Person)
  - Wage level

My system holds a complete list of Teachers and students like

  ObservableCollection<Person>

I have different kinds of GUI controls (listview and radCarousel sofar) that binds to this collection. If I use the radFilterData component in source mode then I see only Name and Age in the field selector. I want to be able to see Name, Age, Grade, Wage level eventhough some of them only makes sence according a specific person type. I use ItemProperties and non source mode to archieve that.

My problem is that I am a little bit confused how to do the rest. I have seen the Domain examples but doesn't guite get it. I assume I have to handle this event:

  radDataFilter.FilterDescriptors.CollectionChanged += this.OnRadDataFilterDescriptorsChanged;

But how should I do that. I should also say that I have already implemented sorting and grouping using the

  CollectionViewSource.GetDefaultView

Hopefully I will be able to have sorting, grouping and filtering working side by side. 

Rossen Hristov
Telerik team
 answered on 24 Aug 2010
4 answers
153 views
Hello

I use  the RadPanelBar control
I build the hirarchy in the xaml page
some of the items have no children but thy still have the arrow (<) in the side
how can I remove it?

here is the code
<telerikNavigation:RadPanelBar x:Name="pb" Margin="5" Width="180" BorderBrush="#9098a3" 
                    BorderThickness="1" HorizontalAlignment="Left" ExpandMode="Multiple">  
            <telerikNavigation:RadPanelBarItem> 
                <telerikNavigation:RadPanelBarItem.Header> 
                    <TextBlock Text="מבט ענף" Height="13" Margin="5 2 5 2" /> 
                </telerikNavigation:RadPanelBarItem.Header> 
                <telerikNavigation:RadPanelBarItem Header="תוכניות עבודה" /> 
                <telerikNavigation:RadPanelBarItem Header="ממתינות לתקצוב" /> 
                <telerikNavigation:RadPanelBarItem Header="הצעות לתוכנית" /> 
            </telerikNavigation:RadPanelBarItem> 
            <telerikNavigation:RadPanelBarItem> 
                <telerikNavigation:RadPanelBarItem.Header> 
                    <TextBlock Text="מבט מחלקה" Height="13" Margin="5 2 5 2" /> 
                </telerikNavigation:RadPanelBarItem.Header> 
                    <telerikNavigation:RadPanelBarItem Header="תוכניות עבודה" /> 
                    <telerikNavigation:RadPanelBarItem Header="ממתינות לתקצוב" /> 
                    <telerikNavigation:RadPanelBarItem Header="הצעות לתוכנית" /> 
                </telerikNavigation:RadPanelBarItem> 
                        <telerikNavigation:RadPanelBarItem IsEnabled="True">         
                    <telerikNavigation:RadPanelBarItem.Header> 
                        <TextBlock Text="ניהול המערכת" Height="13" Margin="5 2 5 2" /> 
                    </telerikNavigation:RadPanelBarItem.Header> 
                </telerikNavigation:RadPanelBarItem> 
             
        </telerikNavigation:RadPanelBar> 

Thanks.
Tina Stancheva
Telerik team
 answered on 24 Aug 2010
2 answers
91 views
I started with the Telerik WPF Q2 2010 examples.
I went to Controls -> DATA -> GridView -> Appearance -> Custom Row Layout

I am using a slightly modified version of this now.  What I want is to change the four gradient stops for the main row background dynamically based on object properties of the binding.  The problem is that my template is 75 lines long and I think it seems very inefficient to duplicate this six times (for siz possible gradient values) and use a TemplateSelector.  Instead I'd like to modify the border background property.

Here's a small snippet of code:

<ControlTemplate x:Key="TCCustomRowTemplate" TargetType="telerik:GridViewRow">
    <Border x:Name="rowsContainer" Background="#FF525252" Padding="8,8,8,0" >
        <Border x:Name="selectedRow" BorderThickness="1" BorderBrush="#FF000000" 
            Background
="{StaticResource TC_INRowBackgroundSelected}>

How can I modify this background to be a different static resource dependant on my object?

Milan
Telerik team
 answered on 24 Aug 2010
1 answer
187 views
Hi 
I've modified the TabControl but would like to force the scrollviewer repeat buttons to scroll one full tab at a time but cannot find a way to do this.

I thought I might be able to add something like Command="ScrollBar.LineDownCommand" to the repeat button - no joy though!

Any help would be much appreciated.

Tina Stancheva
Telerik team
 answered on 23 Aug 2010
1 answer
50 views
Hi,
I am trying to Wrap RadOutlookBar and make MYOUTLOOKBAR so that i can expose only few properties in MYOUTLOOKBAR.
In this senario i need to add radoutlookbarItems to MYOUTLOOKBAR.

Even if i add MYoutlookbarItem to MYOUTLOOKBAR ..In xaml i was able to look at the change.
But in design i  dont see any Item getting added to the Outlookbar.

if add content to this Newly added MYOutlookBarItem from properties tab, i get  an error message saying that

"Property Value is not Valid"
(in detail: Property "content" does not support string to value conversation)

How to add items to outlookbar so that the items of the outlookbar should support exposed properties of radoutlookbar control?

Here is an example code...for Items property of MyOutlookbar.cs

#region

 

 

Property: Items

 

 

 

private MYOutlookBarItemCollection _items;

 

 

 

public MYOutlookBarItemCollection Items

 

{

 

 

get

 

 

 

 

{

 

 

if (_items == null)

 

{

_items =

 

new MYOutlookBarItemCollection ();

 

}

 

 

return _items;

 

}

}

 

 

#endregion

 

 

 

 

 

 

The above code exposes the items property in MYoutlookbar


MYOutlookBarItemCollection.cs will be a separate will which contains
public class MYOutlookBarItemCollection: ObservableCollection<MYOutlookBarItem>

 

{

}

 

 

 


Here is an example code...for content property of MyOutlookbarItem.cs


#region

 

 

Property: Content

 

 

 

public object Content

 

{

 

 

get { return (object)GetValue(ContentProperty); }

 

 

 

set { SetValue(ContentProperty, value); }

 

}

 

 

public static readonly DependencyProperty ContentProperty =

 

 

 

DependencyProperty.Register(

 

 

 

"Content", typeof(object), typeof(MyOutlookBarItem),

 

 

 

new FrameworkPropertyMetadata

 

{

PropertyChangedCallback = (obj, e) =>

{

(obj

 

as MyOutlookBarItem).UpdateContent((object)e.NewValue);

 

}

});

 

 

private void UpdateContent(object sel)

 

{

OutlookBarItem.Content = sel;

}

#endregion

 Can you guys help me..

Thanks,
Deepz

Tina Stancheva
Telerik team
 answered on 23 Aug 2010
3 answers
132 views
Hello,

The ItemTemplateSelector  for the RadTileView does not seem to be working. I can set the property and it is set correctly, but it does not run the SelectTemplate Method. I am using the current Build (0714).

Would someone send code that works with this in the current version?

Thanks,
Matt
Tina Stancheva
Telerik team
 answered on 23 Aug 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?