Telerik Forums
UI for WPF Forum
4 answers
79 views
hi Team,
     while Selection changing event in grid the expected result is the new row should not be selected if any condition is not met for the old row.
     But before the condition itself new row is being selected ,even e.cancel is set to true.

    Suggest me how to handle this.

Swathi.
Swathi
Top achievements
Rank 1
 answered on 29 Dec 2010
4 answers
186 views
    Is there any way to disable the MouseOver yellow background when on a pane (header tab glow)? I even have an Expander on a dockable panel that shows all the content background on yellow when mouse is over.

Carlos.
Boyan
Telerik team
 answered on 29 Dec 2010
5 answers
135 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
57 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
145 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
87 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
124 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
110 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
87 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
117 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?