Telerik Forums
UI for WPF Forum
5 answers
139 views
Hello,

i have redefine filter column template and when i scroll horizontally filter column disappears or default filter appears in place of my custom template.

best regards.
CHRISTIAN GINCHELEAU
Top achievements
Rank 1
 answered on 29 Dec 2010
3 answers
58 views
I am using drag and drop in GridView and in Tree.
When draging to application's borders and release  - the drag objects stays on the border and not disappear.

The property RadDragAndDropManager.EnableNativeDrag should be False.

If this property is true - the behaviour is different and I have other problems even worse. (crashes and drag is not working when changing tab folders).
Vlad
Telerik team
 answered on 29 Dec 2010
3 answers
149 views
I am using the radCalendar control.  We are displaying two columns.  The default header has the month in the middle above the two months instead of having each month have it own header.  How would I go about adding the months names.  I need I18n so I would prefer it be part of the control.

Nevermind we had the ViewsHeader set to false
Pana
Telerik team
 answered on 29 Dec 2010
1 answer
92 views
Would be possible to get a tutorial on how you change colors (using transparent theme) as you have done in the Silverlight sample application "Holiday Planner"? I've downloaded the application but as I'm a designer I find it hard to figure out how it is implimented due to it being a viewmodel project, and VS2010 throwing and exception on MainPage.xaml (Exception was thrown on "DataTemplate": Invalid XAML).

A simple project and tutorial would be VERY helpful as the principle of using a transparent skin and simply dynamically changing some background colors (I think that's what you are doing?) is exactly what I want to do with our application!

Thank you for taking the time to read my request!

Regards,
Murray Eaton
Pavel Pavlov
Telerik team
 answered on 29 Dec 2010
2 answers
137 views
Hi,
I am using RadGridView, i am using the RadGridViewSetting.cs from the example (http://demos.telerik.com/wpf/?GridView/SaveLoadSettings)
the save and load working fine for sort, but When i filter data, the FilterDescriptors load fine but the Items.Count = 0, and i am not seeing data
in the grid. what i am doing wrong? 

I am filtering the first row, to be (a,c,e)

Code

http://www.telerik.com/ClientsFiles/238145_window1.png
http://www.telerik.com/ClientsFiles/238146_window2.png

public

 

DataTable ExcelData { getset; }

 

 


RadGridViewSettings settings = null;

 

 


public Window1()

 

{

InitializeComponent();

 

}

 


privatevoid Window_Loaded(object sender, RoutedEventArgs e)

 

{

 

ExcelData =


newDataTable();

 

ExcelData.Columns.Add(


newDataColumn("Col1"));

 

ExcelData.Columns.Add(


newDataColumn("Col2"));

 

ExcelData.Columns.Add(


newDataColumn("Col3"));

 

ExcelData.Rows.Add(


"a""a1""a2");

 

ExcelData.Rows.Add(


"b""b1""b2");

 

ExcelData.Rows.Add(


"c""c1""c2");

 

ExcelData.Rows.Add(


"d""d1""d2");

 

ExcelData.Rows.Add(


"e""e1""e2");

 

gridViewFileData.ItemsSource = ExcelData;

settings =


newRadGridViewSettings(gridViewFileData);

 

settings.LoadState();

}

 


privatevoid Button_Click(object sender, RoutedEventArgs e)

 

{

 


if (settings != null)

 

{

settings.SaveState();

}

}

}

XAML:

 

 

 


<Grid>

 

 

 


 

 

 


<StackPanel>

 

 

 


 

 

 


<telerik:RadGridView x:Name="gridViewFileData" telerik:Theming.Theme="Office_Blue"

 

 


CanUserFreezeColumns="False" IsReadOnly="True"

 

 

 


 

 


ItemsSource="{Binding Path=ExcelData}">

 

 

 


 

 

 


</telerik:RadGridView>

 

 

 


 

 

 


<Button Content="Save" Click="Button_Click"/>

 

 

 


 

 

 


</StackPanel>

 

 

 


 

 

 


</Grid>

Dan
Top achievements
Rank 1
 answered on 29 Dec 2010
0 answers
112 views
Can someone give me a demo to upload file with C# or WPF?Thanks a lot!
Bennet
Top achievements
Rank 1
 asked on 29 Dec 2010
1 answer
90 views
Hello,
I'll try to simplify my problem. Lets say I create a class with a field named "Title". after creating a few objects of this class type. I set a textbox with binding in my TileViews SmallContent :
<TextBlock  Text="{Binding Title}" />

and add my objects to the TileView using "tileview1.Items.add()"

The initial view is good, but now I want to update this value. How do I refer to this field so it will be updated in the TileViewItem? 
I've tried to change the "Title" value in one of my objects ( which I added using "tileview1.Items.add()" ), but the value in the TextBox doesn't change.

Bottom line: how do I update a field which is declared in the tileviews dataTemplate?

Thank you
Petar Mladenov
Telerik team
 answered on 28 Dec 2010
2 answers
119 views
I followed the example regarding DateTime-support on the help site. I more or less copied the code but still I got a real strange behavior that can be seen on attached image (sorry for attaching one directly from Word but it seems it's not possible to delete attached items).

The first picture shows a continuous trendline for five (different) days but the graph places two points on the same day. At first I thought that the "oldest" data point was not showing correctly but after a more thorough look I realized that it's actually all data points except the first that is placed incorrectly.

The second picture shows the result after I changed a date. Some items are now shown on the correct place while some are placed way off. 

Am I missing something obvious? 

Here's the chart setup:
SeriesMapping seriesMapping = new SeriesMapping();<br>
seriesMapping.LegendLabel = "MSFT";<br>
seriesMapping.SeriesDefinition = new LineSeriesDefinition();<br>
seriesMapping.ItemMappings.Add(new ItemMapping("DateTime", DataPointMember.XValue));<br>
seriesMapping.ItemMappings.Add(new ItemMapping("Value", DataPointMember.YValue));<br>
chart.SeriesMappings.Add(seriesMapping);<br>
chart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "dd-MMM-yyyy";<br>
chart.DefaultView.ChartArea.AxisX.LabelRotationAngle = 45;

Pelle
Top achievements
Rank 1
 answered on 28 Dec 2010
3 answers
122 views
Hello,

I am implementing a drag drop between a listview and a rad treeview. Everything is fine except that when i drag an item to the treeview, the selected hovered item on the treeview does not show.
Is there any 'out of box' solution for this, or it should be implemented manually by detecting the hovered tree view item and changing its color? if it does require manual coding, do you have some short example for it?

Thanks,
Oran
Top achievements
Rank 1
 answered on 28 Dec 2010
3 answers
77 views
Has anyone implemented type-ahead capability in the WPF RadGridView like in a windows grid where you can click on a given cell, start to type and have the grid position the current row to the row that starts with whatever letters have been typed?  If so can you share some code?
Vlad
Telerik team
 answered on 28 Dec 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
VirtualKeyboard
HighlightTextBlock
Security
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?