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

is there a working example for styling the GridRow into somthing like a cardview.
I watched http://tv.telerik.com/wpf/radgridview/custom-formatting-radgridview-rows but there is no source available.

Best regards
Markus
Kalin Milanov
Telerik team
 answered on 25 Sep 2009
1 answer
69 views
Hi there,

I have defined a few shortcuts in my application (like Ctrl + N, Ctrl + E, no standard shortcuts). It seems that the shortcits are not working when your focus is in the NumericUpDown contorl. Is this a known bug or is there a work around?

Regards Koert
Hristo Borisov
Telerik team
 answered on 25 Sep 2009
1 answer
99 views
In my application I'd like to allow the user to save the grid view so it can be loaded the next time he opens the grid.    The view should preserve the groups, sorts, filters, column order, etc.   Is there a way I easily achieve this?   Do you have an example I can uses as reference?

Thanks in advance for you help,
Marco
Missing User
 answered on 25 Sep 2009
1 answer
73 views
Hello,
I need my application to allow user to directly edit data in a column cell.
In the XAML file I have set IsReadOnly="False".
When the application runs if I double click on it or I press F2 key, the data contained disappears but it is impossible to input anything else.
If then I press ESC the old data reappears.
The column DataMemberPath is set to a Double value, or better, it is a SQL Server "money" data type, inclued in a LINQ data context.

What do I miss?

Thanks a lot in advance.

Nick
Nedyalko Nikolov
Telerik team
 answered on 24 Sep 2009
1 answer
66 views
Hello,

I am trying to show the arrow (generatearrowcue) when the user drag and drop the tree node  in to list box. Here is my code snippet and the OnDragQuery event is not firing. Can you please help me what i am doing wrong.

this.tvMetadata.AddHandler(RadDragAndDropManager.DragQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDragQuery));
this.tvMetadata.AddHandler(RadDragAndDropManager.DragInfoEvent, new EventHandler<DragDropEventArgs>(OnDragInfo));

void OnDragInfo(object sender, DragDropEventArgs e)  

{
if (e.Options.Status == DragStatus.DragComplete) {

e.Handled = true;  

}

}

void OnDragQuery(object sender, DragDropQueryEventArgs e)  

{
if (e.Options.Status == DragStatus.DragQuery)  

{

e.Options.ArrowCue = RadDragAndDropManager.GenerateArrowCue();  

}

}

Kiril Stanoev
Telerik team
 answered on 24 Sep 2009
1 answer
98 views
I've created a Carousel passing a list using the ItemSource member. What I would like to do is get data from the item that was clicked on. So for example one of the values in the list is title, when I click on an item I would like to pass the Title of the item I clicked. I created a MouseDown Handler but I can't figure out how to get that data.
Thanks in advance.
Milan
Telerik team
 answered on 24 Sep 2009
1 answer
72 views
I am using WPF RadGridview and have some aggregate functions like sum
 <telerik:GridViewDataColumn Header="OWNED" ToolTip="Owned" HeaderTextAlignment="Center"  DataMemberBinding="{Binding OWNED}" IsEnabled="False"  IsReadOnly="False" >
                                    <telerik:GridViewDataColumn.AggregateFunctions>
                                        <telerik:SumFunction Caption="Owned: "  SourceField="OWNED" />
                                    </telerik:GridViewDataColumn.AggregateFunctions>
                                </telerik:GridViewDataColumn>
It works good if I am tabing out of this cell.But it doesn't update SUM(without tabing) when I am click on some other control other than grid immediately after editing OWNED field value on grid.I have tried RadGridView_lostFocus which doesn't do any good.Please provide me the solution for this ASAP as i am mid of implementation.



Stefan Dobrev
Telerik team
 answered on 24 Sep 2009
2 answers
98 views

Hello,
I have a question, if I don't set the property of axisY, the default value of AutoRange is 'true' .
Like following example, First I add some plus value to the dataseries , and then I add some minus value to the dataseries.
After that the chart crashes, it just can't show the points I add.
Can you help me to solve the problem? Thank you!

 for (int i = 0; i < 6; i++)
   {

        ChartArea.DataSeries.First().Add(new DataPoint(i, 0.01 * i));
   }

   for (int i = 6; i < 10; i++)
   {

        ChartArea.DataSeries.First().Add(new DataPoint(i, -0.01 * i));
   }

Ves
Telerik team
 answered on 24 Sep 2009
3 answers
221 views
hi all,
i recently started using telerik controls for wpf.

i wud like to save grid settings like column order, grouping, sorting etc.
i want to have a column chooser for my grid and save the columns users select along with other settings.

i wud like to save these settings in the database on a button click.

please can anyone let me know if this is possible in wpf and if yes then how.

thank u
sandy
Vlad
Telerik team
 answered on 24 Sep 2009
1 answer
109 views
I am dynamically binding the .ItemsSource and .DataContext property to a datatable in code like such:

 

Dim myDataTable As New DataTable

 

myDataTable = GetDataTable() 'returns datatable with multiple rows

 

 

Me.myRadCarousel.ItemsSource = myDataTable

However, the carousel shows blank images, even though they exist. I double-click on the carousel to get the file name and I get the file name no issue. my datatable contains 1 field (filename)

 

<

 

Window.Resources>

 

 

 

 

 

 

<Style TargetType="{x:Type telerik:CarouselDataRecordPresenter}">

 

 

 

 

 

 

<Setter Property="Template">

 

 

 

 

 

 

<Setter.Value>

 

 

 

 

 

 

<ControlTemplate TargetType="{x:Type telerik:CarouselDataRecordPresenter}">

 

 

 

 

 

 

<Grid IsHitTestVisible="False" HorizontalAlignment="Stretch"

 

 

 

 

 

VerticalAlignment="Stretch">

 

 

 

 

 

 

<Image Source="{Binding Path=Fields[filename].Value}" Height="400" Width="400" />

 

 

 

 

 

 

</Grid>

 

 

 

 

 

 

</ControlTemplate>

 

 

 

 

 

 

</Setter.Value>

 

 

 

 

 

 

</Setter>

 

 

 

 

 

 

</Style>

 

 

 

 

 

 

</Window.Resources>

 

Milan
Telerik team
 answered on 23 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?