Telerik Forums
UI for WPF Forum
6 answers
256 views
Can you shed any light on what would cause this issue? Typically, it will happen when I group or when I try to sort on a column.

I'm using the grid to display a set of search results, 10 columns in total. There will be duplicate values in some columns as some identifiers (customer / transaction IDs, etc) may appear multiple times. The grid is bound via MVVM to an ObservableCollection of objects via the DataContext. The columns are set up as attributes of those objects on first bind of the DataContext.

The data comes up fine on first load; then has issues when we sort or group.
Hristo
Telerik team
 answered on 09 Oct 2009
1 answer
87 views
I cannot see any way of selecting multiple items programmatically only single items. I am asking as I have a need to automatically refresh the grid but keep a users selections that they may be working on at the time.
Milan
Telerik team
 answered on 09 Oct 2009
1 answer
88 views
Any plans to allow floating panels to move outside the bounds of the main window?

-Terry
Kaloyan
Telerik team
 answered on 09 Oct 2009
1 answer
194 views

Is there a way, in XAML, to cause the tab item headers to stretch across the width of the tab control.

For example, I have three tabs, red, blue and green. I have a tab control with it's width set to auto, the tab headers will only fill up part of the space above the tab content, I want them to fill up all the space.

More specifically if I have 4 tabs I want last tab to take up the remaing   space.

Dimitrina
Telerik team
 answered on 09 Oct 2009
2 answers
95 views
Hello again,

I have another anoying bug in the GridView! With the following grid's XAML code:

<telerik:RadGridView Grid.Row="1" Margin="0,5,0,5" Name="rgvAdministrativeAgent" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" SelectionChanged="rgvAdministrativeAgent_SelectionChanged" AutoGenerateColumns="False" RowEditEnded="rgvAdministrativeAgent_RowEditEnded" ValidationMode="Row">  
    <telerik:RadGridView.Columns> 
        <telerik:GridViewDataColumn Header="Name" DataMemberPath="Name" /> 
        <telerik:GridViewDataColumn Header="Abbreviation" DataMemberPath="Abbreviation"  /> 
    </telerik:RadGridView.Columns> 
</telerik:RadGridView> 

When I start editing a row, everything is fine until I hit the "enter" key!

Then, the RowEditEnded event is launched as expected but when it ends, the row stay in edit mode! As long as I use the "enter" key, it will stop the edition mode and worse: it will relaunch each time the RowEditEnded event with a strange behavior because de e.newData stays the same as the first time the event was launched (even if data was modified before hitting "enter" key).

The only way to get out of this is to click anywhere else (wich launches also the RowEditEnded).

I don't know if it is normal, but I would expect the grid to stop editing the row when hitting "enter".
Is there any workaround?

Thanks,

Daniel
Daniel Nevers
Top achievements
Rank 1
 answered on 09 Oct 2009
3 answers
136 views
<TabItem.header>
<textBlock>ABC</textBlock>
</TabItem.Header>

When I am modifying Header template like this then it's not raising tab click event but when I click somewhere to end corners of tabheader.Event fires.I think It is something related with bubble events Which is not working when modifying header.

Please help me for this.
Kiril Stanoev
Telerik team
 answered on 08 Oct 2009
5 answers
262 views
Hi,

The grid control looks good performance and feature wise.
However i was wondering how to switch on the cell-only/cell-row navigation (with keyboard) feature.

Can anybody suggest me on this?

Thanks,
Anurodh
Hristo
Telerik team
 answered on 08 Oct 2009
2 answers
216 views

Hi.

I updated to Q2 2009 SP1 and now I have problem with small sliders (Width less than 56).
I use default theme (I think Office_black) and when I want to create slider with small Width it is not working right.

For example I want to do something like this:

myTestSlider = new Telerik.Windows.Controls.RadSlider();
myTestSlider.IsSnapToTickEnabled = true;
myTestSlider.TickPlacement = Telerik.Windows.Controls.TickPlacement.None;
myTestSlider.TickFrequency = 1;
myTestSlider.Focusable = false;
myTestSlider.Width = 34; // 8+20+6
myTestSlider.Minimum = 1;
myTestSlider.Maximum = 10;
Canvas.SetLeft(myTestSlider, 10);
Canvas.SetTop(myTestSlider, 10);
myTestCanvas.Children.Add(myTestSlider);

Slider Control has width 34 but its "internal" parts look and work like on width around 56 and so right part is not visible and goes beyond right border.
I don’t know if I am doing something wrong but currently I am not able to make small sliders.

Best regards,
Michal

Michal
Top achievements
Rank 1
 answered on 08 Oct 2009
3 answers
427 views
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) 
         
    { 
        if (e.Item is GridHeaderItem) 
        { 
            GridHeaderItem header = (GridHeaderItem)e.Item; 
            // to set the height of the Grid Header 
            header.Height = Unit.Pixel(20); 
 
            // to add an Image in the Grid Header 
            Image img=new Image(); 
            img.ID = "Image1"
            img.ImageUrl = "~/Image1.gif"
            header["columnUniqueName"].Controls.Add(img); 
 
        } 
    } 


Can anyone please let me know how to do above thing in WPF RADGRIDVIEW because radgridview dont have any event like ItemDataBound. I m also using Telerik.windows.control namaspace not Telerik.Web.UI. 



Below is my Code

// I m adding Columns dynamically,

GridViewDataColumn IsUnRead = new GridViewDataColumn();
IsUnRead.Header = "R";
IsUnRead.UniqueName = "IsUnRead";
IsUnRead.Width = new GridLength(40);
this.gvEmail.Columns.Add(IsUnRead);



I want to have Image in header also dynamically by code.


Thanks in advance. Your view will be highly appreciated.

MIRAL SHAH 
Milan
Telerik team
 answered on 07 Oct 2009
1 answer
134 views

I have seen several threads about this topic and all of them end with a reference to

http://blogs.telerik.com/vladimirenchev/posts/09-04-03/how_to_save_and_load_settings_with_radgridview_for_wpf.aspx

Unfortunately it is out of date, because it doesn’t work with the last Telerik release libraries version 2009.2.813.35. I have tried to fix but I can’t makes it works and serialize to save it. I feel like inventing the wheel!

 

Could someone from Telerik update it?

Vlad
Telerik team
 answered on 07 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?