Telerik Forums
UI for WPF Forum
4 answers
272 views
Hi,

I need to style a few bits from the grid that only appear when the grid is grouped by a column. I am attaching an image with the parts that I need to change:

1. The square of Header that appears at the top (I need to change the colour to match the rest of the grid's header)
2. The background of the blank rows and columns that appear when the grid is grouped.
3. The grey squares beneath the expander (also need to change the background).

I tried following your instructions detailed here:

http://www.telerik.com/help/wpf/radgridview-styles-and-templates-styling-the-group-panel.html

But in Blend 4 I cannot generate the template (Edit Copy is disabled). I am also attaching a picture of this problem. Do I need to do something to enable this for the grid? It works fine with RadComboBox, for example.

How should I proceed?

P.S. I notice now I cannot add attachments to this post. Here are two links to the images:

http://www.gepsoft.com/telerik/GridGroupStyle.png
http://www.gepsoft.com/telerik/BlendProblem.png

Best Regards,
Jose
Jose Simas
Top achievements
Rank 2
 answered on 04 Aug 2011
1 answer
214 views

Hi All

I had implemented INotifyDataError for my project it works fine for all column except the one in DataTemplate.(Error add to collection but it doesn't show in GridView)

 <telerik:RadGridView x:Name="grvData"
                             ItemsSource="{Binding AllData, Mode=TwoWay}" 
                             SelectedItem="{Binding SelectedData, Mode=TwoWay}"
                             IsFilteringAllowed="False"
                             ShowGroupPanel="False"
                             AutoGenerateColumns="False"
                             ShowInsertRow="True"
                             CanUserDeleteRows="False" 
                             IsSynchronizedWithCurrentItem="True"
                             ActionOnLostFocus="None" BeginningEdit="grvData_BeginningEdit"
                             Helper:EventFocusAttachment.ElementToFocus="{Binding ElementName=grvDataMaster}"                            
                             Grid.Column="1">
                <telerik:RadGridView.Columns>
                    <telerikGrid:GridViewColumn Header="کل تسعير ارز"  Width="150">
                        <telerik:GridViewColumn.CellTemplate>
                            <DataTemplate>
                                <TextBlock>
                                 <TextBlock.Text>
                                        <MultiBinding Converter="{StaticResource NameConverter}" ConverterParameter="FormatNameValue">
                                          <Binding Path="ExchangeKolCode"/>
                                          <Binding Path="ExchangeKolName"/>
                                        </MultiBinding>
                                </TextBlock.Text>
                                </TextBlock>
                            </DataTemplate>
                        </telerik:GridViewColumn.CellTemplate>
                        <telerik:GridViewColumn.CellEditTemplate>
                            <DataTemplate>
                                <Controls:LookUp LookUpItemsSource="{Binding DataContext.KolLookUpItems, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"       
                                             LookUpId="{Binding ExchangeKol,Mode=TwoWay}"
                                             LookUpName="{Binding ExchangeKolName,Mode=TwoWay}"
                                             LookUpCode="{Binding ExchangeKolCode,Mode=TwoWay}" />

                            </DataTemplate>
                        </telerik:GridViewColumn.CellEditTemplate>
                    </telerikGrid:GridViewColumn> 
            </telerik:RadGridView>

Vanya Pavlova
Telerik team
 answered on 04 Aug 2011
9 answers
153 views
I have a chart with one basic line series with 3500 points. I am using data binding and set the ItemsSource to my list of objects. I have turned off the labels, pointmarks and tooltips but  It still takes up to 15 seconds to render. I have read that I can remove some things using a control template and that this would speed it up. I dont know how to do this. Does anyone have an example?
Thanks
Hristo
Telerik team
 answered on 04 Aug 2011
4 answers
225 views
Within your demo for the RadCalendar, it allows you to select any of several themes, but I don't see anything within the Code example to accomplish that. How can we select a specific theme from amongst those samples -- such as Office Blue or Transparent?  And how do we do this at run-time?

Also, in following the code example that illustrates the EventDayTemplateSelector, - it sets the DataTemplate to a TextBlock. But how would we set the appearance of the entire block that a given day appears in, in the sense that the blocks would abut one another if on adjacent days (does that sound confusing? does to me. In other words - I want to use the entire day-area to put a graphic indication of what kind of event is set for that day).

Thank you for your help,

James W. Hurst

VS 2010, Win 7 x64, RadControls for WPF Q2 2011
Dani
Telerik team
 answered on 04 Aug 2011
7 answers
150 views

Once I drag the Chart from toolbox I got this error. <<The attached Picture>>

 

Could you please let me know how to resolve it?

 

 

Thanks a lot

Sia
Telerik team
 answered on 04 Aug 2011
5 answers
330 views

Sometimes the users paint themselves into a corner and set up the UI in an unwanted way. I would like a way to clear settings (all would be fine, but the ability to clear only some would also be better).

Something like

 

           IsolatedStorageProvider isoProvider = new IsolatedStorageProvider();

           isoProvider.ClearStorage();

           isoProvider.ClearStorage(“myGridView”);

This would remove the files from isolated storage and revert controls to default settings.

Tau Sick
Top achievements
Rank 1
 answered on 04 Aug 2011
1 answer
183 views
Hi Telerik team,
I have same problem from this link.

It is working well, after some changes and i see trigger property IsHeaderPressed and IsMouseOverHeader not working properly.

Do you have any idea ?

Thank you

Tina Stancheva
Telerik team
 answered on 04 Aug 2011
5 answers
161 views
Hi,
I'm using the DataFilter control placed in a ToolBar (in unbound mode (if relevant)).
<ToolBarTray DockPanel.Dock="Top" Name="toolBarTrayTop">
   <!-- Filter Toolbar   -->
   <ToolBar Height="26" Name="toolBarFilter" Visibility="{Binding Path=ToolsFilterVisibility}">
      <Button Name="btnFilterRefresh" Command="{Binding Path=FilterRefreshCommand}" Style="{StaticResource BtnRefreshNeededIndication}">
      </Button>
   </ToolBar>
   <!-- FilterSettings Toolbar   -->
   <ToolBar Name="toolBarFilterSettings" Visibility="{Binding Path=ToolsFilterSettingsVisibility}">
      <telerik:RadDataFilter Name="radDataFilterMain" local:DataFilterMarkupExtension.FilterItems="{Binding DefaultFilterItems}" local:DataFilterMarkupExtension.FilterDefinitions="{Binding DefaultFilterDescriptors}"/>
   </ToolBar>
</ToolBarTray>

I need to know when a filter definition has been changed, therefore I have registered the "CollectionChanged" and "ItemChanged" events on the FilterDescriptors collection. This is works fine, with one exception. If the user only changes a filter value, the filter definition is not changing until he hits enter of click a other control inside the DataFilter. But in my case he could click on a separate "Refresh' button inside the ToolBar. In this case the the "FilterDescriptors" do not change (no focus change as the value control still shows the focus border) and so the filter is showing something different than the "FilterDescriptors" are reporting.
My question is is there a know workaround for such a situation?

Many thanks
Thomas
Vlad
Telerik team
 answered on 04 Aug 2011
3 answers
202 views
Hi there,

I'm developing an app using WPF and MVVM, as well as the latest version of RadControls for WPF. I have a RadTabControl that contains my views, bound to an IEnumerable, and everything is working perfectly. However, when I add a new view to the IEnumerable, I'd like to give it focus.

Is there anyway I can achieve this functionality? I can only access the views via the Items property, but not the TabItem associated.

Thanks in advance!
Suresh
Top achievements
Rank 1
 answered on 03 Aug 2011
11 answers
212 views
Hello,

I have upgraded to the Q2 2011 version of the ScheduleView (I need the EnableSmallAppointmentRendering).  I have a requirement to drag from a listbox to the ScheduleView to create an appointment and this was all working using Q1 2011 SP1.  I corrected all the compile errors but the drag no longer starts on the listbox.
I checked the samples and noticed that the Drag Drop sample for the ScheduleView was commented out.  I uncommented it and get the same behavior (the drag never starts).

I also tried to set the RadDragAndDropManager.ExecutionMode to DragExecutionMode.Legacy and while that allows the drag to start, it does not appear that the ScheduleView recognizes the drop as no appointment is created.

Please help...I really must have both the drag/drop and the EnableSmallAppointmentRendering.

Thank you,
Michelle
Yana
Telerik team
 answered on 03 Aug 2011
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?